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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.042/3.042, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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 0.002013/0.002013, allocations: 71.88 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328/1.33, allocations: 173.6 MB / 1.305 GB, free: 33.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003699/1.333, allocations: 1.95 MB / 1.307 GB, free: 32.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00178/1.335, allocations: 1.148 MB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/1.335, allocations: 3.938 kB / 1.308 GB, free: 31.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004467/1.336, allocations: 91.36 kB / 1.309 GB, free: 31.31 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002997/1.336, allocations: 95.25 kB / 1.309 GB, free: 31.26 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/1.336, allocations: 164.7 kB / 1.309 GB, free: 31.17 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003119/1.337, allocations: 211.7 kB / 1.309 GB, free: 31.08 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/1.337, allocations: 43.3 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/1.337, allocations: 110.4 kB / 1.309 GB, free: 31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/1.337, allocations: 110 kB / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/1.337, allocations: 13.94 kB / 1.309 GB, free: 30.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/1.337, allocations: 56.88 kB / 1.309 GB, free: 30.94 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.2e-05/1.338, allocations: 61.23 kB / 1.309 GB, free: 30.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.545e-05/1.338, allocations: 91.31 kB / 1.309 GB, free: 30.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003798/1.338, allocations: 268.6 kB / 1.31 GB, free: 30.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.338, allocations: 0 / 1.31 GB, free: 30.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/1.338, allocations: 0 / 1.31 GB, free: 30.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.676e-06/1.338, allocations: 2.812 kB / 1.31 GB, free: 30.75 MB / 1.061 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.0008853/1.339, allocations: 0.5513 MB / 1.31 GB, free: 30.26 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.339, allocations: 11.53 kB / 1.31 GB, free: 30.26 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/1.339, allocations: 28.33 kB / 1.31 GB, free: 30.24 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/1.339, allocations: 293.6 kB / 1.311 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/1.339, allocations: 9.844 kB / 1.311 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/1.339, allocations: 5.812 kB / 1.311 GB, free: 29.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/1.34, allocations: 123 kB / 1.311 GB, free: 29.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/1.34, allocations: 0 / 1.311 GB, free: 29.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/1.34, allocations: 7.938 kB / 1.311 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/1.34, allocations: 2.562 kB / 1.311 GB, free: 29.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/1.34, allocations: 82.28 kB / 1.311 GB, free: 29.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006564/1.341, allocations: 458 kB / 1.311 GB, free: 29.54 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/1.341, allocations: 123.6 kB / 1.311 GB, free: 29.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/1.341, allocations: 50.72 kB / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/1.341, allocations: 2.469 kB / 1.311 GB, free: 29.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/1.341, allocations: 132.1 kB / 1.312 GB, free: 29.39 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/1.341, allocations: 0 / 1.312 GB, free: 29.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.0006423/1.342, allocations: 249.6 kB / 1.312 GB, free: 29.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.342, allocations: 62.53 kB / 1.312 GB, free: 29.22 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/1.342, allocations: 328.5 kB / 1.312 GB, free: 29.05 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/1.342, allocations: 32.52 kB / 1.312 GB, free: 29.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/1.342, allocations: 138.6 kB / 1.312 GB, free: 28.89 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/1.343, allocations: 40.39 kB / 1.312 GB, free: 28.86 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/1.343, allocations: 60.83 kB / 1.312 GB, free: 28.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/1.343, allocations: 335.5 kB / 1.313 GB, free: 28.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/1.343, allocations: 84.47 kB / 1.313 GB, free: 28.48 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/1.343, allocations: 132.9 kB / 1.313 GB, free: 28.4 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/1.343, allocations: 187.5 kB / 1.313 GB, free: 28.3 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.343, allocations: 0 / 1.313 GB, free: 28.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005086/1.344, allocations: 282.7 kB / 1.313 GB, free: 28.18 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.344, allocations: 5.594 kB / 1.313 GB, free: 28.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.344, allocations: 8.094 kB / 1.313 GB, free: 28.17 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.344, allocations: 3 kB / 1.313 GB, free: 28.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/1.344, allocations: 41.83 kB / 1.313 GB, free: 28.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.344, allocations: 6.875 kB / 1.313 GB, free: 28.17 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/1.344, allocations: 26.22 kB / 1.313 GB, free: 28.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/1.344, allocations: 9.781 kB / 1.313 GB, free: 28.15 MB / 1.061 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.0001509/1.345, allocations: 156.1 kB / 1.314 GB, free: 28.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/1.345, allocations: 34.67 kB / 1.314 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/1.345, allocations: 207.4 kB / 1.314 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/1.345, allocations: 0 / 1.314 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.345, allocations: 0 / 1.314 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.345, allocations: 2.406 kB / 1.314 GB, free: 27.91 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007697/1.346, allocations: 0.5531 MB / 1.314 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.346, allocations: 0 / 1.314 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.311e-05/1.346, allocations: 15.03 kB / 1.314 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.346, allocations: 4 kB / 1.314 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/1.346, allocations: 6.906 kB / 1.314 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/1.346, allocations: 3.938 kB / 1.314 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.346, allocations: 0 / 1.314 GB, free: 27.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/1.346, allocations: 304.7 kB / 1.315 GB, free: 27.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.991e-05/1.346, allocations: 97.88 kB / 1.315 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/1.346, allocations: 10.02 kB / 1.315 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/1.347, allocations: 12.16 kB / 1.315 GB, free: 27.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/1.347, allocations: 16.12 kB / 1.315 GB, free: 27.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/1.347, allocations: 5.656 kB / 1.315 GB, free: 27.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001764/1.347, allocations: 215.4 kB / 1.315 GB, free: 27.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.347, allocations: 0 / 1.315 GB, free: 27.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000335/1.347, allocations: 49.03 kB / 1.315 GB, free: 27.06 MB / 1.061 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.001567/1.349, allocations: 428.9 kB / 1.316 GB, free: 26.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004955/1.349, allocations: 174.4 kB / 1.316 GB, free: 26.82 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.349, allocations: 320 / 1.316 GB, free: 26.82 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/1.349, allocations: 69.3 kB / 1.316 GB, free: 26.8 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/1.35, allocations: 62.12 kB / 1.316 GB, free: 26.77 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/1.351, allocations: 414.8 kB / 1.316 GB, free: 26.52 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/1.351, allocations: 0.7523 MB / 1.317 GB, free: 25.82 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.948e-05/1.351, allocations: 34.27 kB / 1.317 GB, free: 25.82 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.367e-05/1.351, allocations: 19.81 kB / 1.317 GB, free: 25.81 MB / 1.061 GB Notification: Performance of SimCode: time 8.52e-07/1.351, allocations: 0 / 1.317 GB, free: 25.81 MB / 1.061 GB Notification: Performance of Templates: time 0.006979/1.358, allocations: 3.097 MB / 1.32 GB, free: 25.52 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 400] 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: 10.287206891924143]