Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.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.001453/0.001453, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001635/0.001635, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.49/1.49, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 3.254/3.254, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] 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.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.y|cha.u|cha.up|cha.y|cha.down|changeSampler.u|changeSampler.y|increaseSampler.u|increaseSampler.y|decreaseSampler.u|decreaseSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.015e-06/3.015e-06, allocations: 0.7656 kB / 0.8776 GB, free: 6.469 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.562e-05, allocations: 3.625 kB / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003883/0.003918, allocations: 1.914 MB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.006509, allocations: 1.209 MB / 0.8807 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.006683, allocations: 5.281 kB / 0.8807 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.007097, allocations: 95.44 kB / 0.8808 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004999/0.007597, allocations: 144.3 kB / 0.8809 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.007991, allocations: 130.9 kB / 0.881 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003939/0.008385, allocations: 235.3 kB / 0.8812 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.008557, allocations: 29.78 kB / 0.8813 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002839/0.008841, allocations: 135.6 kB / 0.8814 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.009037, allocations: 91.75 kB / 0.8815 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.588e-05/0.009072, allocations: 16 kB / 0.8815 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.009226, allocations: 51.92 kB / 0.8816 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.009331, allocations: 63.75 kB / 0.8816 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.00944, allocations: 56.42 kB / 0.8817 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006355/0.01008, allocations: 287 kB / 0.8819 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01008, allocations: 1.344 kB / 0.8819 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01008, allocations: 0 / 0.8819 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.01009, allocations: 0 / 0.8819 GB, free: 2.043 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001107/0.0112, allocations: 486.4 kB / 0.8824 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.01123, allocations: 8.031 kB / 0.8824 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.01135, allocations: 36.73 kB / 0.8824 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004643/0.01181, allocations: 237 kB / 0.8827 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.01184, allocations: 11.94 kB / 0.8827 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.01186, allocations: 12 kB / 0.8827 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.01223, allocations: 113.6 kB / 0.8828 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.01224, allocations: 0 / 0.8828 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.01226, allocations: 4 kB / 0.8828 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.01226, allocations: 0 / 0.8828 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003449/0.01261, allocations: 94.11 kB / 0.8829 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008253/0.01343, allocations: 380.3 kB / 0.8833 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.01384, allocations: 130.5 kB / 0.8834 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.01402, allocations: 52.83 kB / 0.8834 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.01404, allocations: 4 kB / 0.8834 GB, free: 420 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003578/0.0144, allocations: 123.3 kB / 0.8836 GB, free: 284 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 4.419e-06/0.0144, allocations: 3.984 kB / 0.8836 GB, free: 280 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0007889/0.01519, allocations: 257.3 kB / 0.8838 GB, free: 16 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.01528, allocations: 59.41 kB / 0.8839 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004672/0.01575, allocations: 341.8 kB / 0.8842 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.01579, allocations: 33.69 kB / 0.8842 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.01592, allocations: 132.5 kB / 0.8843 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.966e-05/0.01598, allocations: 51.67 kB / 0.8844 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.01608, allocations: 61.64 kB / 0.8845 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002145/0.0163, allocations: 334.8 kB / 0.8848 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.01655, allocations: 83.95 kB / 0.8849 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.01684, allocations: 138.3 kB / 0.885 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.01732, allocations: 193 kB / 0.8852 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.01732, allocations: 0 / 0.8852 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006972/0.01802, allocations: 291.1 kB / 0.8854 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.01804, allocations: 4 kB / 0.8855 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.01805, allocations: 8.156 kB / 0.8855 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.01807, allocations: 3.938 kB / 0.8855 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.01831, allocations: 47.91 kB / 0.8855 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.01832, allocations: 7.938 kB / 0.8855 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.01849, allocations: 23.92 kB / 0.8855 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.01852, allocations: 8 kB / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 (decreaseSampler.y,$PRE.decreaseSampler.y,increaseSampler.y,$PRE.increaseSampler.y,changeSampler.y,$PRE.changeSampler.y,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition2,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,cha.down,cha.up,cha.y,cha.u,$PRE.cha.u,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0001915/0.01871, allocations: 157.7 kB / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.01877, allocations: 31.86 kB / 0.8857 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/0.01937, allocations: 214.4 kB / 0.8859 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.01938, allocations: 7.938 kB / 0.8859 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.01939, allocations: 0 / 0.8859 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.01939, allocations: 0 / 0.8859 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.02043, allocations: 0.4903 MB / 0.8864 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.02044, allocations: 3.938 kB / 0.8864 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.02055, allocations: 27.92 kB / 0.8864 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.02055, allocations: 0 / 0.8864 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.02057, allocations: 4 kB / 0.8865 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.02057, allocations: 0 / 0.8865 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.02058, allocations: 3.984 kB / 0.8865 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.02121, allocations: 310 kB / 0.8868 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.229e-05/0.02128, allocations: 27.73 kB / 0.8868 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.02132, allocations: 11.98 kB / 0.8868 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.02149, allocations: 23.98 kB / 0.8868 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.02158, allocations: 15.97 kB / 0.8868 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.0216, allocations: 8 kB / 0.8868 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002982/0.0219, allocations: 213.2 kB / 0.887 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.0219, allocations: 0 / 0.887 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004381/0.02234, allocations: 43.94 kB / 0.8871 GB, free: 12.5 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 0.002124/0.02446, allocations: 455.2 kB / 0.8875 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006144/0.02507, allocations: 179.8 kB / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02508, allocations: 3.938 kB / 0.8877 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.02531, allocations: 71.95 kB / 0.8878 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005006/0.02581, allocations: 64.11 kB / 0.8878 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.02697, allocations: 438.9 kB / 0.8882 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.02716, allocations: 141.5 kB / 0.8884 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.0273, allocations: 37.92 kB / 0.8884 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.733e-05/0.0274, allocations: 28.5 kB / 0.8884 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.0274, allocations: 4 kB / 0.8884 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of Templates: time 0.008928/0.03633, allocations: 3.33 MB / 0.8917 GB, free: 7.973 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.507764465990476]