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.002411/0.002411, allocations: 93.47 kB / 19.44 MB, free: 336 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.00264/0.00264, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.658/1.658, allocations: 177.1 MB / 203.1 MB, free: 5.57 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.406/3.406, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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 6.593e-06/6.593e-06, allocations: 4 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.936e-05, allocations: 5.125 kB / 0.8775 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.005528/0.005567, allocations: 1.94 MB / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00377/0.009337, allocations: 1.23 MB / 0.8806 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.009491, allocations: 4 kB / 0.8806 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.01002, allocations: 99.44 kB / 0.8807 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.01062, allocations: 141.4 kB / 0.8808 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005406/0.01116, allocations: 139.4 kB / 0.8809 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.01167, allocations: 223.4 kB / 0.8811 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.01188, allocations: 38.28 kB / 0.8812 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.01229, allocations: 131.7 kB / 0.8813 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.01257, allocations: 89.11 kB / 0.8814 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.545e-05/0.01262, allocations: 12 kB / 0.8814 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002274/0.01285, allocations: 63.84 kB / 0.8815 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.01303, allocations: 64.41 kB / 0.8815 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.01316, allocations: 51.84 kB / 0.8816 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006736/0.01384, allocations: 288.5 kB / 0.8819 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.01384, allocations: 0 / 0.8819 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.192e-06/0.01384, allocations: 0 / 0.8819 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.01386, allocations: 0 / 0.8819 GB, free: 2.152 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.001489/0.01535, allocations: 0.5787 MB / 0.8824 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.01539, allocations: 8.031 kB / 0.8824 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/0.01554, allocations: 32.75 kB / 0.8825 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/0.01617, allocations: 223.8 kB / 0.8827 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.01621, allocations: 14.81 kB / 0.8827 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.01624, allocations: 11.94 kB / 0.8827 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.01665, allocations: 105.6 kB / 0.8828 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.01667, allocations: 0 / 0.8828 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.01669, allocations: 3.984 kB / 0.8828 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.0167, allocations: 4 kB / 0.8828 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.01707, allocations: 78.42 kB / 0.8829 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.01832, allocations: 449 kB / 0.8833 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.01882, allocations: 119.1 kB / 0.8834 GB, free: 452 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.019, allocations: 47.67 kB / 0.8835 GB, free: 400 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.01903, allocations: 4 kB / 0.8835 GB, free: 396 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003835/0.01941, allocations: 124.9 kB / 0.8836 GB, free: 256 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.01942, allocations: 0 / 0.8836 GB, free: 256 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.000923/0.02034, allocations: 224.1 kB / 0.8838 GB, free: 28 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.586e-05/0.02043, allocations: 59.39 kB / 0.8839 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000709/0.02114, allocations: 376.2 kB / 0.8842 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.0212, allocations: 37.69 kB / 0.8843 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.02146, allocations: 203.3 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.819e-05/0.02155, allocations: 43.69 kB / 0.8845 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.02176, allocations: 79.3 kB / 0.8846 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004574/0.02222, allocations: 0.5235 MB / 0.8851 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.02248, allocations: 55.97 kB / 0.8851 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.02286, allocations: 135.3 kB / 0.8853 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.02341, allocations: 183.8 kB / 0.8854 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.02342, allocations: 0 / 0.8854 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008624/0.02428, allocations: 249.3 kB / 0.8857 GB, free: 14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.0243, allocations: 4 kB / 0.8857 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.02432, allocations: 4 kB / 0.8857 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.02434, allocations: 3.938 kB / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.02467, allocations: 48.06 kB / 0.8857 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.02468, allocations: 4 kB / 0.8857 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.0249, allocations: 23.88 kB / 0.8858 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.02495, allocations: 12 kB / 0.8858 GB, free: 13.9 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.0002472/0.02519, allocations: 188.5 kB / 0.8859 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.247e-05/0.02528, allocations: 31.84 kB / 0.886 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006699/0.02594, allocations: 186.4 kB / 0.8862 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.02596, allocations: 7.922 kB / 0.8862 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.02596, allocations: 0 / 0.8862 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.02597, allocations: 8 kB / 0.8862 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.02732, allocations: 0.5482 MB / 0.8867 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.02732, allocations: 3.938 kB / 0.8867 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.02745, allocations: 15.92 kB / 0.8867 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.02746, allocations: 4 kB / 0.8867 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.02749, allocations: 4 kB / 0.8867 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.02749, allocations: 0 / 0.8867 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02749, allocations: 0 / 0.8867 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/0.02828, allocations: 342.3 kB / 0.8871 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.02837, allocations: 35.73 kB / 0.8871 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.02844, allocations: 8 kB / 0.8871 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.02861, allocations: 7.984 kB / 0.8871 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.764e-05/0.02871, allocations: 19.97 kB / 0.8871 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.02874, allocations: 11.94 kB / 0.8871 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003898/0.02913, allocations: 233 kB / 0.8874 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/0.02913, allocations: 0 / 0.8874 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006041/0.02973, allocations: 51.94 kB / 0.8874 GB, free: 12.14 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.00418/0.03391, allocations: 450.5 kB / 0.8878 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007544/0.03467, allocations: 170.2 kB / 0.888 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.03467, allocations: 0 / 0.888 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002735/0.03494, allocations: 71.66 kB / 0.8881 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007632/0.03571, allocations: 61.03 kB / 0.8881 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.03711, allocations: 399 kB / 0.8885 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.03738, allocations: 141.2 kB / 0.8886 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.03753, allocations: 29.92 kB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.03767, allocations: 32.5 kB / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/0.03767, allocations: 0 / 0.8887 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.01316/0.05083, allocations: 3.326 MB / 0.892 GB, free: 7.66 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] 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.867932508001104]