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.001867/0.001867, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.001964/0.001964, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.71/1.71, allocations: 177.1 MB / 203.9 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.079/3.079, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/3.072e-05, allocations: 5.172 kB / 0.8108 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.005537/0.005568, allocations: 1.932 MB / 0.8127 GB, free: 120 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003742/0.00931, allocations: 1.234 MB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.009472, allocations: 3.938 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.009977, allocations: 100.6 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006052/0.01058, allocations: 143.9 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.01109, allocations: 131.5 kB / 0.8143 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.01158, allocations: 228.3 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001851/0.01176, allocations: 33.8 kB / 0.8145 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003498/0.01211, allocations: 132.3 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00026/0.01237, allocations: 92.95 kB / 0.8147 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.591e-05/0.01243, allocations: 16 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.01263, allocations: 59.89 kB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.01278, allocations: 67.75 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.0129, allocations: 48.83 kB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006094/0.01351, allocations: 283 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.01352, allocations: 4.75 kB / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01352, allocations: 0 / 0.8152 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.01353, allocations: 0.875 kB / 0.8152 GB, free: 13.57 MB / 0.7761 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.001359/0.01489, allocations: 0.5809 MB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.01493, allocations: 9.281 kB / 0.8158 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.01506, allocations: 28.8 kB / 0.8158 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.01564, allocations: 227.7 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.01567, allocations: 13.88 kB / 0.816 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.01571, allocations: 8 kB / 0.816 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.01611, allocations: 107.3 kB / 0.8161 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01612, allocations: 0 / 0.8161 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.01614, allocations: 4 kB / 0.8162 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.01615, allocations: 8.969 kB / 0.8162 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.0165, allocations: 71.88 kB / 0.8162 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.01769, allocations: 453 kB / 0.8167 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.01817, allocations: 124.8 kB / 0.8168 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.01837, allocations: 43.61 kB / 0.8168 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.0184, allocations: 4 kB / 0.8168 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003966/0.0188, allocations: 138.4 kB / 0.817 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.0188, allocations: 0 / 0.817 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.000907/0.01971, allocations: 215.1 kB / 0.8172 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.01979, allocations: 68.89 kB / 0.8172 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006766/0.02046, allocations: 380.2 kB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.0205, allocations: 29.7 kB / 0.8176 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.02074, allocations: 195.3 kB / 0.8178 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.498e-05/0.02083, allocations: 48.56 kB / 0.8179 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.02102, allocations: 75.34 kB / 0.8179 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0004317/0.02145, allocations: 0.5252 MB / 0.8184 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.02172, allocations: 59.97 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.02209, allocations: 134 kB / 0.8186 GB, free: 9.859 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/0.02264, allocations: 178.5 kB / 0.8188 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.02265, allocations: 0 / 0.8188 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008299/0.02348, allocations: 242.9 kB / 0.819 GB, free: 9.422 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.0235, allocations: 9.312 kB / 0.819 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.02351, allocations: 0 / 0.819 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.071e-05/0.02354, allocations: 11.92 kB / 0.819 GB, free: 9.402 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.02387, allocations: 45.05 kB / 0.8191 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.02387, allocations: 0 / 0.8191 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.02408, allocations: 27.88 kB / 0.8191 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/0.02412, allocations: 4.812 kB / 0.8191 GB, free: 9.328 MB / 0.7761 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.0002442/0.02436, allocations: 185.2 kB / 0.8193 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.16e-05/0.02445, allocations: 35.84 kB / 0.8193 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006888/0.02513, allocations: 192.9 kB / 0.8195 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.02514, allocations: 7.938 kB / 0.8195 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.02515, allocations: 7.938 kB / 0.8195 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.02516, allocations: 0.7812 kB / 0.8195 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.02649, allocations: 0.55 MB / 0.8201 GB, free: 8.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.0265, allocations: 3.938 kB / 0.8201 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.02662, allocations: 15.98 kB / 0.8201 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.02662, allocations: 4 kB / 0.8201 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.02664, allocations: 0 / 0.8201 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.02665, allocations: 0.7812 kB / 0.8201 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.02665, allocations: 0 / 0.8201 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007807/0.02743, allocations: 354.3 kB / 0.8204 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.111e-05/0.02751, allocations: 27.75 kB / 0.8205 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.473e-05/0.02756, allocations: 8 kB / 0.8205 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.02778, allocations: 11.98 kB / 0.8205 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.02788, allocations: 19.97 kB / 0.8205 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.0279, allocations: 4 kB / 0.8205 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003836/0.02829, allocations: 233.1 kB / 0.8207 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02829, allocations: 0 / 0.8207 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005976/0.02888, allocations: 52.56 kB / 0.8208 GB, free: 7.574 MB / 0.7761 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.004284/0.03317, allocations: 463.5 kB / 0.8212 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006899/0.03386, allocations: 164.6 kB / 0.8214 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.03386, allocations: 0 / 0.8214 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.03414, allocations: 71.84 kB / 0.8214 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000704/0.03484, allocations: 64.61 kB / 0.8215 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.03597, allocations: 386.8 kB / 0.8219 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.03622, allocations: 141.2 kB / 0.822 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.03636, allocations: 22.67 kB / 0.822 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.0365, allocations: 34.14 kB / 0.8221 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of SimCode: time 1.093e-06/0.0365, allocations: 0 / 0.8221 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of Templates: time 0.01103/0.04753, allocations: 3.3 MB / 0.8253 GB, free: 3.164 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Change.pipe 2>&1) [Timeout 240] 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: 8.475196045008488]