Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.0008145/0.0008145, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001836, 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.0007008/0.0007008, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009851/0.001686, 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 0.9897/0.9897, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1025/1.092, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.413/2.413, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2538/2.667, allocations: 145.9 MB / 0.817 GB, free: 4.223 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.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.[0-9,]+.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") translateModel(Buildings.Templates.Components.Controls.Validation.MultipleCommands,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conCom.y1.[0-9,]+.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.635e-05, allocations: 10.25 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001346/0.001362, allocations: 0.8843 MB / 0.8192 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.002475, allocations: 1.209 MB / 0.8203 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.846e-05/0.002544, allocations: 7.938 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.799e-05/0.002622, allocations: 15.86 kB / 0.8204 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.653e-05/0.002688, allocations: 19.8 kB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.003009, allocations: 139.7 kB / 0.8205 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.00337, allocations: 347.2 kB / 0.8208 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.003524, allocations: 67.56 kB / 0.8209 GB, free: 220 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.003714, allocations: 219.6 kB / 0.8211 GB, free: 0 / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.003888, allocations: 151.8 kB / 0.8213 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.00393, allocations: 32 kB / 0.8213 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.668e-05/0.004017, allocations: 44 kB / 0.8213 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.46e-05/0.004062, allocations: 35.86 kB / 0.8214 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.523e-05/0.004147, allocations: 71.88 kB / 0.8214 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.004397, allocations: 267.4 kB / 0.8217 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.004412, allocations: 0 / 0.8217 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.21e-07/0.004412, allocations: 0 / 0.8217 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.004429, allocations: 3.938 kB / 0.8217 GB, free: 15.41 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006376/0.005067, allocations: 0.5008 MB / 0.8222 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.005105, allocations: 12.62 kB / 0.8222 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.005168, allocations: 36.84 kB / 0.8222 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.005391, allocations: 170.2 kB / 0.8224 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.005421, allocations: 20.36 kB / 0.8224 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.005456, allocations: 24.38 kB / 0.8224 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.005622, allocations: 125.6 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.00563, allocations: 192 / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.005642, allocations: 4.375 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.005648, allocations: 4.375 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.005706, allocations: 35.92 kB / 0.8226 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.006137, allocations: 349.4 kB / 0.8229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.596e-05/0.006233, allocations: 98.44 kB / 0.823 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/0.006257, allocations: 12.86 kB / 0.823 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.00628, allocations: 8 kB / 0.823 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.006463, allocations: 136.4 kB / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.062e-06/0.006464, allocations: 0 / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001794/0.006643, allocations: 113.6 kB / 0.8233 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.006685, allocations: 59.34 kB / 0.8233 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.006777, allocations: 174.5 kB / 0.8235 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.006807, allocations: 33.7 kB / 0.8235 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.006875, allocations: 124.4 kB / 0.8237 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.006899, allocations: 47.62 kB / 0.8237 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-05/0.006983, allocations: 73.62 kB / 0.8238 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.007125, allocations: 330.8 kB / 0.8241 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.007249, allocations: 159.9 kB / 0.8242 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.007384, allocations: 219.8 kB / 0.8245 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.007561, allocations: 252.8 kB / 0.8247 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.007564, allocations: 0 / 0.8247 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000301/0.007865, allocations: 414.5 kB / 0.8251 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.00792, allocations: 93.09 kB / 0.8252 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.007926, allocations: 7.938 kB / 0.8252 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/0.007936, allocations: 4 kB / 0.8252 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.182e-05/0.008007, allocations: 15.98 kB / 0.8252 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.008014, allocations: 7.938 kB / 0.8252 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.008191, allocations: 72 kB / 0.8253 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.008219, allocations: 19.98 kB / 0.8253 GB, free: 11.37 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conCom.mulOr.uTemp[2],conCom.y1One,y1[3].y,$PRE.y1[3].y,y1[2].y,$PRE.y1[2].y,y1[1].y,$PRE.y1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 3 * 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 8.647e-05/0.008305, allocations: 128.6 kB / 0.8254 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.008323, allocations: 19.98 kB / 0.8254 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.008455, allocations: 106.3 kB / 0.8255 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.008458, allocations: 4 kB / 0.8255 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.00846, allocations: 7.938 kB / 0.8256 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.008464, allocations: 0 / 0.8256 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.008691, allocations: 109.8 kB / 0.8257 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.008693, allocations: 0 / 0.8257 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.756e-05/0.00873, allocations: 15.98 kB / 0.8257 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.008741, allocations: 15.91 kB / 0.8257 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.008743, allocations: 0 / 0.8257 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.008749, allocations: 0 / 0.8257 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.00875, allocations: 0 / 0.8257 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.008752, allocations: 4 kB / 0.8257 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.876e-05/0.008851, allocations: 130.5 kB / 0.8258 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.008865, allocations: 11.98 kB / 0.8258 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.861e-05/0.008883, allocations: 4 kB / 0.8258 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.008922, allocations: 18.81 kB / 0.8258 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.008929, allocations: 11.94 kB / 0.8259 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.783e-05/0.008957, allocations: 37.06 kB / 0.8259 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008957, allocations: 0 / 0.8259 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001617/0.009119, allocations: 71.83 kB / 0.826 GB, free: 10.62 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: 11 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,y1[1].y,y1[2].y,y1[3].y,conCom.y1One,conCom.mulOr.uTemp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.627e-05/0.009215, allocations: 92.41 kB / 0.8261 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002973/0.009512, allocations: 414.1 kB / 0.8264 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.009519, allocations: 4 kB / 0.8265 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.899e-05/0.009558, allocations: 40.72 kB / 0.8265 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.009704, allocations: 51.95 kB / 0.8265 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.01024, allocations: 323.5 kB / 0.8268 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.212e-05/0.01028, allocations: 83.83 kB / 0.8269 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.391e-05/0.01031, allocations: 13.48 kB / 0.8269 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.01047, allocations: 99.33 kB / 0.827 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of SimCode: time 6.81e-07/0.01047, allocations: 0 / 0.827 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of Templates: time 0.005477/0.01595, allocations: 4.47 MB / 0.8314 GB, free: 5.02 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands/Buildings_latest_Buildings.Templates.Components.Controls.Validation.MultipleCommands.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.318480073474348]