Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001053/0.001053, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.000994/0.000994, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9423/0.9423, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.916/1.916, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.95e-05, allocations: 7.25 kB / 0.76 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.00177/0.001789, allocations: 0.836 MB / 0.7608 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.00329, allocations: 1.228 MB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.003362, allocations: 4 kB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.003483, allocations: 13.48 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.003587, allocations: 19.09 kB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.004018, allocations: 145.2 kB / 0.7622 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000411/0.004429, allocations: 357.8 kB / 0.7625 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.00459, allocations: 72.22 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002097/0.004799, allocations: 203.8 kB / 0.7628 GB, free: 3.812 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.005023, allocations: 152.8 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.005078, allocations: 32 kB / 0.763 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.005175, allocations: 46.06 kB / 0.763 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.005238, allocations: 51.83 kB / 0.7631 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.005362, allocations: 99.86 kB / 0.7632 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003521/0.005714, allocations: 331.1 kB / 0.7635 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.005715, allocations: 0 / 0.7635 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005716, allocations: 0 / 0.7635 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.005719, allocations: 2.031 kB / 0.7635 GB, free: 3.117 MB / 0.7136 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.0005681/0.006287, allocations: 469.1 kB / 0.7639 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.00632, allocations: 8.031 kB / 0.7639 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.617e-05/0.006397, allocations: 36.91 kB / 0.764 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.006646, allocations: 180.7 kB / 0.7641 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.006679, allocations: 20.38 kB / 0.7642 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.00673, allocations: 20.38 kB / 0.7642 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.006902, allocations: 113.7 kB / 0.7643 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.00691, allocations: 1.406 kB / 0.7643 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.006926, allocations: 8.375 kB / 0.7643 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.006934, allocations: 4.375 kB / 0.7643 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.11e-05/0.007005, allocations: 32.7 kB / 0.7643 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005812/0.007586, allocations: 346.5 kB / 0.7647 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.0077, allocations: 94.45 kB / 0.7647 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.007739, allocations: 25.66 kB / 0.7648 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.007754, allocations: 1.781 kB / 0.7648 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.007898, allocations: 118.1 kB / 0.7649 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.0079, allocations: 0 / 0.7649 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002316/0.008132, allocations: 127.9 kB / 0.765 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.008168, allocations: 55.34 kB / 0.7651 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.008292, allocations: 181.8 kB / 0.7652 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.008335, allocations: 33.7 kB / 0.7653 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.343e-05/0.008418, allocations: 128.3 kB / 0.7654 GB, free: 1 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.00845, allocations: 39.67 kB / 0.7654 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.008581, allocations: 77.62 kB / 0.7655 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.008751, allocations: 326.8 kB / 0.7658 GB, free: 0.5508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.008924, allocations: 162.6 kB / 0.766 GB, free: 384 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.009112, allocations: 207 kB / 0.7662 GB, free: 136 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.009352, allocations: 244.4 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.009356, allocations: 4 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004425/0.009798, allocations: 410.4 kB / 0.7668 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.009853, allocations: 93.09 kB / 0.7669 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.009858, allocations: 4.75 kB / 0.7669 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.009873, allocations: 4 kB / 0.7669 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/0.009951, allocations: 12.69 kB / 0.7669 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.009959, allocations: 11.92 kB / 0.7669 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.01022, allocations: 71.66 kB / 0.767 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.01026, allocations: 19.98 kB / 0.767 GB, free: 15.18 MB / 0.7292 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 0.0001118/0.01037, allocations: 132.6 kB / 0.7671 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.0104, allocations: 15.98 kB / 0.7671 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.01056, allocations: 99.45 kB / 0.7672 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01056, allocations: 2.469 kB / 0.7672 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01057, allocations: 3.938 kB / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.01057, allocations: 3.984 kB / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.0107, allocations: 121.8 kB / 0.7674 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.0107, allocations: 0 / 0.7674 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.01075, allocations: 11.94 kB / 0.7674 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01075, allocations: 0.9062 kB / 0.7674 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.01076, allocations: 3.984 kB / 0.7674 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01076, allocations: 0 / 0.7674 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01076, allocations: 1.125 kB / 0.7674 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.0109, allocations: 126.7 kB / 0.7675 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.01092, allocations: 23.83 kB / 0.7675 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.01094, allocations: 4.906 kB / 0.7675 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.935e-05/0.01097, allocations: 0 / 0.7675 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.01102, allocations: 23.89 kB / 0.7676 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.01103, allocations: 8 kB / 0.7676 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.01107, allocations: 36.81 kB / 0.7676 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01107, allocations: 1.75 kB / 0.7676 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002683/0.01134, allocations: 71.83 kB / 0.7677 GB, free: 14.45 MB / 0.7292 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 0.0001168/0.01145, allocations: 93 kB / 0.7678 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003703/0.01182, allocations: 399.3 kB / 0.7681 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.01183, allocations: 9.094 kB / 0.7681 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/0.01189, allocations: 32.84 kB / 0.7682 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.01206, allocations: 37.56 kB / 0.7682 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004492/0.01251, allocations: 322.5 kB / 0.7685 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.366e-05/0.01257, allocations: 85.31 kB / 0.7686 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.729e-05/0.01261, allocations: 9.5 kB / 0.7686 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.01283, allocations: 100.2 kB / 0.7687 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of SimCode: time 1.002e-06/0.01283, allocations: 0 / 0.7687 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.008004/0.02083, allocations: 4.303 MB / 0.7729 GB, free: 9.184 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Controls_Validation_MultipleCommands.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: 4.956966510973871]