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.001344/0.001344, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001713/0.001713, allocations: 177 kB / 23.36 MB, free: 1.137 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 0.9817/0.9817, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 2.39/2.39, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 2.114e-06/2.114e-06, allocations: 0 / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.448e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Change): time 0.00341/0.003435, allocations: 1.969 MB / 0.8405 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002129/0.005564, allocations: 1.258 MB / 0.8417 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.005693, allocations: 7.938 kB / 0.8417 GB, free: 11 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.006084, allocations: 95.5 kB / 0.8418 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003885/0.006473, allocations: 143.3 kB / 0.842 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.006784, allocations: 127.4 kB / 0.8421 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.007088, allocations: 227.4 kB / 0.8423 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.007237, allocations: 34.42 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006523/0.00789, allocations: 176.3 kB / 0.8425 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.008039, allocations: 83.77 kB / 0.8426 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.00807, allocations: 16 kB / 0.8426 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.008195, allocations: 51.92 kB / 0.8427 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.848e-05/0.008284, allocations: 67.69 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.008354, allocations: 51.83 kB / 0.8428 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.008697, allocations: 203.2 kB / 0.843 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.008702, allocations: 0 / 0.843 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.022e-06/0.008703, allocations: 0 / 0.843 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.008707, allocations: 0 / 0.843 GB, free: 9.766 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.0006863/0.009394, allocations: 443.5 kB / 0.8434 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.009434, allocations: 12.62 kB / 0.8434 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.009503, allocations: 24.91 kB / 0.8434 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.009822, allocations: 204.7 kB / 0.8436 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.009847, allocations: 8.125 kB / 0.8436 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.009871, allocations: 12 kB / 0.8436 GB, free: 9.023 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.01011, allocations: 103 kB / 0.8437 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.01012, allocations: 7.984 kB / 0.8437 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.01013, allocations: 4 kB / 0.8437 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.026e-06/0.01014, allocations: 4 kB / 0.8438 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.01022, allocations: 35.84 kB / 0.8438 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.01079, allocations: 241.9 kB / 0.844 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.01097, allocations: 124 kB / 0.8441 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.01102, allocations: 20.84 kB / 0.8442 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.01103, allocations: 4 kB / 0.8442 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.01119, allocations: 100.4 kB / 0.8443 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/0.01119, allocations: 0 / 0.8443 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002268/0.01141, allocations: 113.5 kB / 0.8444 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.01146, allocations: 55.41 kB / 0.8444 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.01168, allocations: 247.8 kB / 0.8447 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.0117, allocations: 33.7 kB / 0.8447 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01181, allocations: 124.9 kB / 0.8448 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.01185, allocations: 35.73 kB / 0.8448 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.927e-05/0.01193, allocations: 61.61 kB / 0.8449 GB, free: 7.637 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.01204, allocations: 338.7 kB / 0.8452 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.976e-05/0.0121, allocations: 30.81 kB / 0.8452 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-05/0.01218, allocations: 73.11 kB / 0.8453 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.01233, allocations: 117 kB / 0.8454 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01233, allocations: 0 / 0.8454 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002312/0.01257, allocations: 142.2 kB / 0.8456 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.01258, allocations: 8 kB / 0.8456 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.01259, allocations: 3.984 kB / 0.8456 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.0126, allocations: 4 kB / 0.8456 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.01279, allocations: 47.91 kB / 0.8456 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01279, allocations: 4 kB / 0.8456 GB, free: 6.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.0129, allocations: 19.89 kB / 0.8456 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.01292, allocations: 7.984 kB / 0.8457 GB, free: 6.805 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 0.0001159/0.01304, allocations: 136.7 kB / 0.8458 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.01307, allocations: 15.98 kB / 0.8458 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.01328, allocations: 110.3 kB / 0.8459 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.01328, allocations: 4 kB / 0.8459 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.01329, allocations: 0 / 0.8459 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01329, allocations: 0 / 0.8459 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.01373, allocations: 358.6 kB / 0.8463 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.01373, allocations: 4 kB / 0.8463 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.518e-05/0.01381, allocations: 19.92 kB / 0.8463 GB, free: 6.137 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.01382, allocations: 4 kB / 0.8463 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.01383, allocations: 7.984 kB / 0.8463 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.01383, allocations: 0 / 0.8463 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.01383, allocations: 0 / 0.8463 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.0141, allocations: 242.5 kB / 0.8465 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.01413, allocations: 27.78 kB / 0.8465 GB, free: 5.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.01417, allocations: 4 kB / 0.8465 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.01428, allocations: 11.98 kB / 0.8466 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.01434, allocations: 15.97 kB / 0.8466 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.01435, allocations: 8 kB / 0.8466 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.984e-05/0.01445, allocations: 86.69 kB / 0.8467 GB, free: 5.715 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.01445, allocations: 4 kB / 0.8467 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003218/0.01477, allocations: 51.89 kB / 0.8467 GB, free: 5.66 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.00165/0.01643, allocations: 0.5209 MB / 0.8472 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001985/0.01662, allocations: 84.75 kB / 0.8473 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.01663, allocations: 7.938 kB / 0.8473 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.415e-05/0.0167, allocations: 49.14 kB / 0.8474 GB, free: 5.223 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.01704, allocations: 48.45 kB / 0.8474 GB, free: 5.176 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.01779, allocations: 376.9 kB / 0.8478 GB, free: 4.777 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.943e-05/0.01786, allocations: 88.3 kB / 0.8479 GB, free: 4.672 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.089e-05/0.01795, allocations: 29.94 kB / 0.8479 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.01811, allocations: 99.33 kB / 0.848 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of SimCode: time 8.51e-07/0.01811, allocations: 0 / 0.848 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of Templates: time 0.00795/0.02606, allocations: 3.526 MB / 0.8514 GB, free: 1.09 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 -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","",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.383039859123528]