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.001371/0.001371, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002189/0.00356, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001165/0.001165, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.002771, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.005/1.005, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09461/1.1, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.456/2.456, allocations: 446.7 MB / 0.6745 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.269/2.725, allocations: 145.9 MB / 0.817 GB, free: 4.176 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 3.006e-06/3.006e-06, allocations: 0 / 0.8183 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.88e-05/3.181e-05, allocations: 4.562 kB / 0.8183 GB, free: 2.852 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.003855/0.003887, allocations: 2.01 MB / 0.8203 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002293/0.00618, allocations: 1.266 MB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.006318, allocations: 3.938 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.00664, allocations: 95.56 kB / 0.8216 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003595/0.006999, allocations: 147.2 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.007358, allocations: 131.4 kB / 0.8219 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.007741, allocations: 223.4 kB / 0.8221 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.007904, allocations: 34.44 kB / 0.8221 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008345/0.008738, allocations: 217 kB / 0.8223 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.008902, allocations: 83.78 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.008934, allocations: 12 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.009099, allocations: 51.97 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.501e-05/0.009184, allocations: 47.86 kB / 0.8225 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.962e-05/0.009253, allocations: 43.81 kB / 0.8225 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003646/0.009618, allocations: 187.2 kB / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.358e-05/0.009641, allocations: 4 kB / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.82e-07/0.009642, allocations: 0 / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.009665, allocations: 4 kB / 0.8227 GB, free: 14.31 MB / 0.8073 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.0008851/0.01055, allocations: 487.1 kB / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.01059, allocations: 8.625 kB / 0.8232 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.696e-05/0.01067, allocations: 24.91 kB / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.011, allocations: 208.1 kB / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.01103, allocations: 8 kB / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.01105, allocations: 8 kB / 0.8234 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.01129, allocations: 105.1 kB / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.0113, allocations: 0 / 0.8235 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.01132, allocations: 11.94 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01133, allocations: 0 / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.995e-05/0.01142, allocations: 34.58 kB / 0.8236 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005468/0.01197, allocations: 241.7 kB / 0.8238 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.01216, allocations: 120.1 kB / 0.8239 GB, free: 13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.0122, allocations: 28.72 kB / 0.824 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.01222, allocations: 4 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/0.01241, allocations: 102 kB / 0.8241 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/0.01241, allocations: 0 / 0.8241 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002362/0.01265, allocations: 105.6 kB / 0.8242 GB, free: 12.74 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.0127, allocations: 59.53 kB / 0.8242 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.01293, allocations: 263.6 kB / 0.8245 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.01296, allocations: 29.7 kB / 0.8245 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.01303, allocations: 117 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.01308, allocations: 43.67 kB / 0.8247 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-05/0.01316, allocations: 57.66 kB / 0.8247 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.01327, allocations: 338.8 kB / 0.825 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.01332, allocations: 26.83 kB / 0.8251 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.0134, allocations: 77.09 kB / 0.8251 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.01354, allocations: 106.7 kB / 0.8252 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.01355, allocations: 0 / 0.8252 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001968/0.01374, allocations: 150.8 kB / 0.8254 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01376, allocations: 4 kB / 0.8254 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.01376, allocations: 0 / 0.8254 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.01377, allocations: 4 kB / 0.8254 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.01395, allocations: 51.97 kB / 0.8254 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01396, allocations: 3.938 kB / 0.8254 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.14e-05/0.01404, allocations: 23.88 kB / 0.8255 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.01406, allocations: 11.94 kB / 0.8255 GB, free: 11.3 MB / 0.8073 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 9.784e-05/0.01416, allocations: 140.7 kB / 0.8256 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.01418, allocations: 19.98 kB / 0.8256 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.01434, allocations: 97.64 kB / 0.8257 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-06/0.01434, allocations: 0 / 0.8257 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.01435, allocations: 0 / 0.8257 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01435, allocations: 7.984 kB / 0.8257 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.01469, allocations: 354.6 kB / 0.8261 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.01469, allocations: 4 kB / 0.8261 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.01475, allocations: 19.98 kB / 0.8261 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.812e-05/0.01478, allocations: 31.75 kB / 0.8261 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01478, allocations: 0 / 0.8261 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.0148, allocations: 11.92 kB / 0.8261 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.0148, allocations: 0 / 0.8261 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.0148, allocations: 0 / 0.8261 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000163/0.01496, allocations: 244.5 kB / 0.8264 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.01499, allocations: 4 kB / 0.8264 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.98e-05/0.01507, allocations: 11.98 kB / 0.8264 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.01512, allocations: 27.89 kB / 0.8264 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.01513, allocations: 4 kB / 0.8264 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.768e-05/0.01522, allocations: 86.77 kB / 0.8265 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01522, allocations: 0 / 0.8265 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002111/0.01543, allocations: 47.94 kB / 0.8265 GB, free: 10.15 MB / 0.8073 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.001301/0.01673, allocations: 0.5567 MB / 0.8271 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.01687, allocations: 92.67 kB / 0.8272 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.01687, allocations: 4.312 kB / 0.8272 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.01692, allocations: 51.25 kB / 0.8272 GB, free: 9.719 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.01714, allocations: 81.75 kB / 0.8273 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000712/0.01785, allocations: 382.6 kB / 0.8277 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.969e-05/0.01791, allocations: 92.31 kB / 0.8278 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.206e-05/0.01797, allocations: 29.95 kB / 0.8278 GB, free: 9.102 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.01808, allocations: 91.34 kB / 0.8279 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of SimCode: time 6.92e-07/0.01808, allocations: 0 / 0.8279 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of Templates: time 0.005314/0.0234, allocations: 3.578 MB / 0.8314 GB, free: 5.492 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Change.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4428573958575726]