Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001413/0.001413, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001656/0.001656, allocations: 163.2 kB / 22.46 MB, free: 5.375 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.574/1.574, allocations: 177.1 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.766/2.766, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/3.013e-05, allocations: 5.234 kB / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003506/0.003536, allocations: 1.902 MB / 0.9528 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.005773, allocations: 1.22 MB / 0.954 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.005882, allocations: 3.938 kB / 0.954 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.006224, allocations: 91.56 kB / 0.9541 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.006621, allocations: 155.2 kB / 0.9543 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.006978, allocations: 123.5 kB / 0.9544 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000362/0.00734, allocations: 235.3 kB / 0.9546 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.007495, allocations: 29.8 kB / 0.9546 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.007711, allocations: 135.6 kB / 0.9548 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001617/0.007873, allocations: 91.75 kB / 0.9549 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.007911, allocations: 16 kB / 0.9549 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.008061, allocations: 51.92 kB / 0.9549 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.008168, allocations: 67.75 kB / 0.955 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.268e-05/0.008261, allocations: 55.84 kB / 0.955 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004816/0.008742, allocations: 287 kB / 0.9553 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.008747, allocations: 0 / 0.9553 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.008748, allocations: 0 / 0.9553 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.00876, allocations: 3.938 kB / 0.9553 GB, free: 7.055 MB / 0.8575 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.001027/0.009787, allocations: 484.9 kB / 0.9558 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.009826, allocations: 8.031 kB / 0.9558 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.009897, allocations: 32.73 kB / 0.9558 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.01028, allocations: 229 kB / 0.956 GB, free: 6.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.0103, allocations: 15.94 kB / 0.9561 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.01033, allocations: 12 kB / 0.9561 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.01065, allocations: 115.3 kB / 0.9562 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.01066, allocations: 0 / 0.9562 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.01068, allocations: 4 kB / 0.9562 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.01068, allocations: 0 / 0.9562 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003258/0.01101, allocations: 95.84 kB / 0.9563 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007554/0.01176, allocations: 380.3 kB / 0.9566 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003798/0.01214, allocations: 126.6 kB / 0.9568 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.01231, allocations: 52.83 kB / 0.9568 GB, free: 5.434 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.01234, allocations: 7.938 kB / 0.9568 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002912/0.01263, allocations: 119.3 kB / 0.9569 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.01263, allocations: 4 kB / 0.9569 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0007271/0.01336, allocations: 255.8 kB / 0.9572 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.01341, allocations: 59.41 kB / 0.9572 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.01381, allocations: 349.7 kB / 0.9576 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.01385, allocations: 29.7 kB / 0.9576 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01396, allocations: 132.5 kB / 0.9577 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.348e-05/0.01401, allocations: 43.72 kB / 0.9578 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.01411, allocations: 57.64 kB / 0.9578 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.01427, allocations: 342.8 kB / 0.9581 GB, free: 4 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.01449, allocations: 83.95 kB / 0.9582 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.01475, allocations: 133.6 kB / 0.9583 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.01517, allocations: 194.8 kB / 0.9585 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01518, allocations: 0 / 0.9585 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005871/0.01576, allocations: 277.3 kB / 0.9588 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.01578, allocations: 8 kB / 0.9588 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01579, allocations: 0 / 0.9588 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.01581, allocations: 8.094 kB / 0.9588 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.01603, allocations: 47.91 kB / 0.9589 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.01604, allocations: 4 kB / 0.9589 GB, free: 3.219 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.01621, allocations: 31.86 kB / 0.9589 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.01624, allocations: 8 kB / 0.9589 GB, free: 3.18 MB / 0.8575 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.0001647/0.0164, allocations: 161.5 kB / 0.9591 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.826e-05/0.01644, allocations: 19.86 kB / 0.9591 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005448/0.01699, allocations: 223.6 kB / 0.9593 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.01699, allocations: 7.875 kB / 0.9593 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.017, allocations: 0 / 0.9593 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.017, allocations: 3.938 kB / 0.9593 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008967/0.0179, allocations: 0.4883 MB / 0.9598 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.0179, allocations: 3.938 kB / 0.9598 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.459e-05/0.018, allocations: 15.98 kB / 0.9598 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.018, allocations: 4 kB / 0.9598 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.01802, allocations: 4 kB / 0.9598 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.01802, allocations: 4 kB / 0.9598 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01803, allocations: 0 / 0.9598 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.01854, allocations: 303.6 kB / 0.9601 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-05/0.01862, allocations: 31.73 kB / 0.9601 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.01866, allocations: 4 kB / 0.9601 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.01881, allocations: 19.97 kB / 0.9601 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.814e-05/0.01889, allocations: 19.97 kB / 0.9602 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.01891, allocations: 8 kB / 0.9602 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002174/0.01913, allocations: 217.2 kB / 0.9604 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01913, allocations: 0 / 0.9604 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003403/0.01947, allocations: 51.89 kB / 0.9604 GB, free: 1.551 MB / 0.8575 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.001759/0.02123, allocations: 448.2 kB / 0.9609 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005162/0.02174, allocations: 185.6 kB / 0.961 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02174, allocations: 0 / 0.961 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.02195, allocations: 71.89 kB / 0.9611 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.0224, allocations: 52.39 kB / 0.9612 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008747/0.02327, allocations: 415.7 kB / 0.9616 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.02343, allocations: 145.5 kB / 0.9617 GB, free: 400 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.525e-05/0.02353, allocations: 33.94 kB / 0.9617 GB, free: 368 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.031e-05/0.02361, allocations: 32.48 kB / 0.9618 GB, free: 336 kB / 0.8575 GB Notification: Performance of SimCode: time 8.42e-07/0.02361, allocations: 0 / 0.9618 GB, free: 336 kB / 0.8575 GB Notification: Performance of Templates: time 0.00816/0.03177, allocations: 3.276 MB / 0.965 GB, free: 13.11 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.314420867711306]