Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 105.1 kB / 16.27 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 191.8 kB / 17.2 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.3 MB / 0.6653 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 65.28 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2497, allocations: 140.4 MB / 0.9503 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.005285/0.2551, allocations: 1.919 MB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.2578, allocations: 1.123 MB / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.2581, allocations: 0 / 0.9533 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.2586, allocations: 95.56 kB / 0.9533 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.259, allocations: 91.58 kB / 0.9534 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006355/0.2597, allocations: 159.3 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.2601, allocations: 215.4 kB / 0.9538 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.2603, allocations: 61.61 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.2605, allocations: 87.64 kB / 0.9539 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.2608, allocations: 111.5 kB / 0.954 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.2608, allocations: 12 kB / 0.9541 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.261, allocations: 55.98 kB / 0.9541 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.2611, allocations: 51.83 kB / 0.9542 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.2613, allocations: 103.3 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.2617, allocations: 259.5 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2618, allocations: 0 / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2618, allocations: 0 / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.2618, allocations: 4 kB / 0.9545 GB, free: 4.492 MB / 0.7325 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.001185/0.263, allocations: 0.5412 MB / 0.955 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.263, allocations: 8.031 kB / 0.955 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.2631, allocations: 28.66 kB / 0.9551 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/0.2637, allocations: 295.3 kB / 0.9553 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.2637, allocations: 8 kB / 0.9554 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.2638, allocations: 12 kB / 0.9554 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004326/0.2642, allocations: 115.1 kB / 0.9555 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2643, allocations: 0 / 0.9555 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.2643, allocations: 7.938 kB / 0.9555 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2643, allocations: 0 / 0.9555 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.2648, allocations: 87.92 kB / 0.9556 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.2658, allocations: 452.4 kB / 0.956 GB, free: 2.816 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005245/0.2664, allocations: 142.5 kB / 0.9561 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.2667, allocations: 52.81 kB / 0.9562 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.2667, allocations: 7.984 kB / 0.9562 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004121/0.2671, allocations: 123.2 kB / 0.9563 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.404e-06/0.2671, allocations: 4 kB / 0.9563 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.001008/0.2682, allocations: 251.8 kB / 0.9566 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.2682, allocations: 55.41 kB / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.2688, allocations: 322.6 kB / 0.9569 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.941e-05/0.2688, allocations: 33.7 kB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.269, allocations: 148.3 kB / 0.9571 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.341e-05/0.2691, allocations: 35.55 kB / 0.9571 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.2692, allocations: 61.64 kB / 0.9572 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2694, allocations: 338.8 kB / 0.9575 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002958/0.2697, allocations: 79.94 kB / 0.9576 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.27, allocations: 133.6 kB / 0.9577 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.2706, allocations: 187.1 kB / 0.9579 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.2706, allocations: 3.938 kB / 0.9579 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008399/0.2715, allocations: 281 kB / 0.9582 GB, free: 500 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2715, allocations: 4 kB / 0.9582 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2715, allocations: 0 / 0.9582 GB, free: 496 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2716, allocations: 4 kB / 0.9582 GB, free: 492 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.2719, allocations: 48.12 kB / 0.9582 GB, free: 444 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/0.2719, allocations: 3.938 kB / 0.9582 GB, free: 440 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.2722, allocations: 19.98 kB / 0.9582 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.2722, allocations: 11.98 kB / 0.9582 GB, free: 408 kB / 0.7325 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.0002189/0.2724, allocations: 163.7 kB / 0.9584 GB, free: 236 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.2725, allocations: 27.66 kB / 0.9584 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.176e-05/0.2726, allocations: 26.17 kB / 0.9585 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.2726, allocations: 0 / 0.9585 GB, free: 188 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2726, allocations: 4 kB / 0.9585 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.2726, allocations: 0 / 0.9585 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.2739, allocations: 0.5489 MB / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2739, allocations: 0 / 0.959 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.274, allocations: 15.98 kB / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.274, allocations: 4 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.2741, allocations: 11.98 kB / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2741, allocations: 0 / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2741, allocations: 0 / 0.959 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007434/0.2749, allocations: 298 kB / 0.9593 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.275, allocations: 96.83 kB / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.2751, allocations: 7.984 kB / 0.9594 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.2753, allocations: 19.92 kB / 0.9594 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.2754, allocations: 19.98 kB / 0.9594 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.2754, allocations: 7.984 kB / 0.9595 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000342/0.2758, allocations: 206 kB / 0.9597 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2758, allocations: 0 / 0.9597 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005303/0.2763, allocations: 51.94 kB / 0.9597 GB, free: 14.82 MB / 0.7481 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 (16): * Single equations (assignments): 11 * 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.0015/0.2778, allocations: 428.2 kB / 0.9601 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006987/0.2786, allocations: 189.3 kB / 0.9603 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2786, allocations: 0 / 0.9603 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.2789, allocations: 71.91 kB / 0.9604 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.2795, allocations: 58.73 kB / 0.9604 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.2806, allocations: 445.8 kB / 0.9608 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.281, allocations: 0.748 MB / 0.9616 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.485e-05/0.2811, allocations: 27.38 kB / 0.9616 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.2812, allocations: 0 / 0.9616 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of Templates: time 0.008244/0.2894, allocations: 3.246 MB / 0.9648 GB, free: 9.734 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches