Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001702/0.001702, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002095/0.002095, allocations: 215.4 kB / 22.25 MB, free: 5.262 MB / 14.72 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.605/1.605, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.426/3.426, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 65.77 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3614, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.004129/0.3656, allocations: 1.906 MB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002466/0.368, allocations: 1.196 MB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.3682, allocations: 4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.3686, allocations: 99.55 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005521/0.3692, allocations: 139.4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.3696, allocations: 127.6 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.37, allocations: 235.4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.3702, allocations: 45.61 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.3704, allocations: 103.6 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.3707, allocations: 107.5 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.3707, allocations: 16 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3709, allocations: 55.92 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.371, allocations: 59.83 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.991e-05/0.3711, allocations: 71.52 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004873/0.3716, allocations: 278.9 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3716, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3716, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.576e-05/0.3716, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 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.00115/0.3728, allocations: 496.8 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.3728, allocations: 8.031 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.3729, allocations: 28.75 kB / 1.33 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.3733, allocations: 229.1 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3733, allocations: 8 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.3733, allocations: 12 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.3737, allocations: 123.3 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3737, allocations: 3.938 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.009e-05/0.3737, allocations: 11.91 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.3737, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002822/0.374, allocations: 83.92 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009523/0.3749, allocations: 368.2 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.3753, allocations: 122.6 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.3755, allocations: 60.81 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3755, allocations: 3.938 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003284/0.3759, allocations: 131.2 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.744e-06/0.3759, allocations: 0 / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0007934/0.3767, allocations: 264 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.3767, allocations: 55.41 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004495/0.3772, allocations: 337.8 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3772, allocations: 33.7 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3774, allocations: 136.4 kB / 1.332 GB, free: 10.8 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.3774, allocations: 39.69 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3775, allocations: 61.64 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3777, allocations: 338.8 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.3779, allocations: 87.95 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.3782, allocations: 133 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000421/0.3786, allocations: 186.9 kB / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3786, allocations: 0 / 1.333 GB, free: 9.922 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005981/0.3792, allocations: 291.3 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3792, allocations: 7.938 kB / 1.333 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3792, allocations: 4 kB / 1.333 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3793, allocations: 0 / 1.333 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.3795, allocations: 47.91 kB / 1.333 GB, free: 9.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3795, allocations: 4 kB / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.3796, allocations: 24.09 kB / 1.333 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.3797, allocations: 8 kB / 1.333 GB, free: 9.539 MB / 1.029 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.0001969/0.3799, allocations: 174 kB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.3799, allocations: 23.8 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005878/0.3805, allocations: 221.4 kB / 1.334 GB, free: 9.113 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.3805, allocations: 4 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.3805, allocations: 4 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3805, allocations: 3.938 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009325/0.3814, allocations: 490.1 kB / 1.334 GB, free: 8.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3814, allocations: 7.984 kB / 1.334 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.368e-05/0.3815, allocations: 15.92 kB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3815, allocations: 4 kB / 1.334 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.3816, allocations: 4 kB / 1.334 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3816, allocations: 0 / 1.334 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3816, allocations: 4 kB / 1.334 GB, free: 8.551 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.3821, allocations: 309.3 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.3822, allocations: 35.78 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.3822, allocations: 0 / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.3824, allocations: 15.98 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.3825, allocations: 23.91 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.3825, allocations: 7.984 kB / 1.335 GB, free: 8.152 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002808/0.3828, allocations: 209.2 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3828, allocations: 4 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003809/0.3831, allocations: 55.92 kB / 1.335 GB, free: 7.887 MB / 1.029 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.001851/0.385, allocations: 450 kB / 1.335 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005809/0.3856, allocations: 183.7 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3856, allocations: 320 / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.3858, allocations: 75.89 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3862, allocations: 48.45 kB / 1.336 GB, free: 7.324 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009199/0.3871, allocations: 418.7 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.3873, allocations: 145.2 kB / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.3874, allocations: 29.94 kB / 1.336 GB, free: 6.699 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.3876, allocations: 31.42 kB / 1.336 GB, free: 6.668 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.3876, allocations: 0 / 1.336 GB, free: 6.668 MB / 1.029 GB Notification: Performance of Templates: time 0.00957/0.3971, allocations: 3.446 MB / 1.34 GB, free: 3.27 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.822435032576323]