Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007719/0.0007719, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009741/0.0009741, allocations: 169 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9517/0.9517, allocations: 177.2 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.334/2.334, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Abs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|abs1.u|abs1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.8898 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.795e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Abs): time 0.001188/0.001206, allocations: 0.7212 MB / 0.8905 GB, free: 9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009349/0.002141, allocations: 0.8625 MB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.288e-05/0.002184, allocations: 4 kB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.002214, allocations: 3.938 kB / 0.8913 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.812e-05/0.002292, allocations: 15.84 kB / 0.8913 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.002428, allocations: 19.92 kB / 0.8913 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.017e-05/0.002509, allocations: 47.91 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.098e-05/0.0026, allocations: 11.98 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.972e-05/0.002689, allocations: 31.91 kB / 0.8914 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.002753, allocations: 19.98 kB / 0.8915 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.002777, allocations: 4 kB / 0.8915 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.002788, allocations: 7.938 kB / 0.8915 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.002812, allocations: 19.91 kB / 0.8915 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.002833, allocations: 4 kB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.558e-05/0.002919, allocations: 43.81 kB / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.00292, allocations: 0 / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002921, allocations: 0 / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.002925, allocations: 0 / 0.8915 GB, free: 7.895 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003643/0.003289, allocations: 376.5 kB / 0.8919 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.003332, allocations: 12.62 kB / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.003361, allocations: 4.938 kB / 0.8919 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.344e-05/0.003445, allocations: 108.6 kB / 0.892 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.003462, allocations: 4.375 kB / 0.892 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.003474, allocations: 4.375 kB / 0.892 GB, free: 7.336 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.003605, allocations: 78.84 kB / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.003614, allocations: 3.938 kB / 0.8921 GB, free: 7.246 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.003623, allocations: 4 kB / 0.8921 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.003628, allocations: 0 / 0.8921 GB, free: 7.242 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.217e-05/0.00367, allocations: 15.98 kB / 0.8921 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.003981, allocations: 248.4 kB / 0.8924 GB, free: 6.957 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.418e-05/0.004076, allocations: 50.98 kB / 0.8924 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.004103, allocations: 19.66 kB / 0.8924 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.004122, allocations: 4.031 kB / 0.8924 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.004145, allocations: 33.39 kB / 0.8925 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.004146, allocations: 0 / 0.8925 GB, free: 6.824 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0001539/0.0043, allocations: 61.77 kB / 0.8925 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.004326, allocations: 55.41 kB / 0.8926 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.004405, allocations: 166 kB / 0.8927 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.004417, allocations: 29.7 kB / 0.8928 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.004467, allocations: 134.8 kB / 0.8929 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.004489, allocations: 15.88 kB / 0.8929 GB, free: 6.324 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.004526, allocations: 23.38 kB / 0.8929 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002896/0.004816, allocations: 0.4923 MB / 0.8934 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.004838, allocations: 4 kB / 0.8934 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.849e-05/0.004856, allocations: 11.92 kB / 0.8934 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.0049, allocations: 19.67 kB / 0.8934 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.004901, allocations: 4 kB / 0.8934 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.927e-05/0.00499, allocations: 57.56 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.005002, allocations: 4 kB / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.005006, allocations: 0 / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.005017, allocations: 0 / 0.8935 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.005102, allocations: 11.98 kB / 0.8935 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.005104, allocations: 0 / 0.8935 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.005138, allocations: 4 kB / 0.8935 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.005143, allocations: 0 / 0.8935 GB, free: 5.664 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,abs1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.793e-05/0.005221, allocations: 160.6 kB / 0.8937 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.005252, allocations: 19.88 kB / 0.8937 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.00528, allocations: 4 kB / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005282, allocations: 0 / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.005284, allocations: 0 / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.005287, allocations: 0 / 0.8937 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.005423, allocations: 109.2 kB / 0.8938 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.005424, allocations: 0 / 0.8938 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.005475, allocations: 8 kB / 0.8938 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.005479, allocations: 3.984 kB / 0.8938 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.005488, allocations: 3.938 kB / 0.8938 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005489, allocations: 256 / 0.8938 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.005494, allocations: 11.94 kB / 0.8938 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.005654, allocations: 195.9 kB / 0.894 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.005664, allocations: 7.953 kB / 0.894 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.005682, allocations: 15.92 kB / 0.894 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.361e-05/0.005745, allocations: 0 / 0.894 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.005791, allocations: 11.98 kB / 0.894 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.005795, allocations: 0 / 0.894 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.62e-05/0.005842, allocations: 127.2 kB / 0.8942 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.005842, allocations: 0 / 0.8942 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002293/0.006071, allocations: 11.94 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (abs1.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.951e-05/0.00615, allocations: 95.25 kB / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.936e-05/0.00624, allocations: 35.61 kB / 0.8943 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006241, allocations: 0 / 0.8943 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.006279, allocations: 27.89 kB / 0.8943 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.00652, allocations: 4 kB / 0.8943 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.006795, allocations: 134.4 kB / 0.8945 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.167e-05/0.006836, allocations: 55.36 kB / 0.8945 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.006873, allocations: 7.984 kB / 0.8945 GB, free: 4.504 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.309e-05/0.006946, allocations: 78.2 kB / 0.8946 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.006947, allocations: 0 / 0.8946 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of Templates: time 0.002885/0.009831, allocations: 1.046 MB / 0.8956 GB, free: 3.383 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Abs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1251592775806785]