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.001402/0.001402, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001437/0.001437, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9697/0.9697, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.188/2.188, allocations: 429.5 MB / 0.6736 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.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 2.064e-06/2.064e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/3.015e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002098/0.002128, allocations: 0.8362 MB / 0.879 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.004132, allocations: 1.217 MB / 0.8802 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.004238, allocations: 3.938 kB / 0.8802 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001589/0.004397, allocations: 15.86 kB / 0.8802 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.004526, allocations: 15.86 kB / 0.8802 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005343/0.00506, allocations: 148.8 kB / 0.8804 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004518/0.005512, allocations: 352.4 kB / 0.8807 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.005727, allocations: 61.27 kB / 0.8807 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.005983, allocations: 200.4 kB / 0.8809 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.006252, allocations: 151.7 kB / 0.8811 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.182e-05/0.006324, allocations: 36.72 kB / 0.8811 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.006436, allocations: 43.98 kB / 0.8812 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.038e-05/0.006517, allocations: 47.62 kB / 0.8812 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.006684, allocations: 107.8 kB / 0.8813 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.007146, allocations: 331.1 kB / 0.8816 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.007151, allocations: 0 / 0.8816 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.903e-06/0.007153, allocations: 0 / 0.8816 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.007159, allocations: 0 / 0.8816 GB, free: 3.137 MB / 0.8386 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.0008732/0.008033, allocations: 0.6141 MB / 0.8822 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.008078, allocations: 8.031 kB / 0.8822 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.008199, allocations: 32.84 kB / 0.8823 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.008576, allocations: 223.7 kB / 0.8825 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.649e-05/0.008623, allocations: 16.38 kB / 0.8825 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.008684, allocations: 28.36 kB / 0.8825 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.00894, allocations: 111.6 kB / 0.8826 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.00895, allocations: 1.219 kB / 0.8826 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.008969, allocations: 4.375 kB / 0.8826 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.008981, allocations: 4.375 kB / 0.8826 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.00913, allocations: 58.36 kB / 0.8827 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/0.01008, allocations: 0.546 MB / 0.8832 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.01025, allocations: 65.7 kB / 0.8833 GB, free: 1.301 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.01032, allocations: 31.8 kB / 0.8833 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.01035, allocations: 4 kB / 0.8833 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.01056, allocations: 127.6 kB / 0.8834 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.725e-06/0.01056, allocations: 0 / 0.8834 GB, free: 1.125 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004279/0.01099, allocations: 169.4 kB / 0.8836 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.01105, allocations: 65.27 kB / 0.8837 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.01125, allocations: 246.3 kB / 0.8839 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.01131, allocations: 37.7 kB / 0.8839 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.01145, allocations: 187.1 kB / 0.8841 GB, free: 400 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.01149, allocations: 43.67 kB / 0.8842 GB, free: 356 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.01166, allocations: 92.05 kB / 0.8842 GB, free: 256 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.01184, allocations: 0.504 MB / 0.8847 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.01213, allocations: 178.7 kB / 0.8849 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.01247, allocations: 255.6 kB / 0.8852 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.01282, allocations: 278.9 kB / 0.8854 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.01282, allocations: 0 / 0.8854 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008131/0.01363, allocations: 495.4 kB / 0.8859 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/0.01371, allocations: 97.09 kB / 0.886 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.01372, allocations: 4 kB / 0.886 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.01374, allocations: 3.938 kB / 0.886 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.01387, allocations: 23.92 kB / 0.886 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.01388, allocations: 4 kB / 0.886 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.01423, allocations: 84.02 kB / 0.8861 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.01429, allocations: 23.98 kB / 0.8861 GB, free: 14.14 MB / 0.8542 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.000157/0.01445, allocations: 181.2 kB / 0.8863 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.01449, allocations: 19.91 kB / 0.8863 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.01479, allocations: 135.4 kB / 0.8864 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.0148, allocations: 11.92 kB / 0.8865 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.0148, allocations: 4 kB / 0.8865 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.01481, allocations: 3.984 kB / 0.8865 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.0153, allocations: 196.5 kB / 0.8866 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.0153, allocations: 0 / 0.8866 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-05/0.01538, allocations: 19.86 kB / 0.8867 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.01538, allocations: 4 kB / 0.8867 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.0154, allocations: 0 / 0.8867 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.0154, allocations: 3.984 kB / 0.8867 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.0154, allocations: 3.938 kB / 0.8867 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.01568, allocations: 175.5 kB / 0.8868 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.0157, allocations: 15.91 kB / 0.8869 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.01573, allocations: 4 kB / 0.8869 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.01578, allocations: 7.984 kB / 0.8869 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.01584, allocations: 15.92 kB / 0.8869 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.01585, allocations: 7.984 kB / 0.8869 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001036/0.01596, allocations: 163.2 kB / 0.887 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01596, allocations: 0 / 0.887 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003595/0.01632, allocations: 67.89 kB / 0.8871 GB, free: 13.05 MB / 0.8542 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.0001859/0.0165, allocations: 116.9 kB / 0.8872 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005984/0.0171, allocations: 434.8 kB / 0.8876 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.0171, allocations: 0 / 0.8876 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.01721, allocations: 55.59 kB / 0.8877 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.01754, allocations: 42.2 kB / 0.8877 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.01818, allocations: 338.8 kB / 0.8881 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.888e-05/0.01825, allocations: 87.81 kB / 0.8881 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.656e-05/0.01833, allocations: 25.47 kB / 0.8882 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.01838, allocations: 16.5 kB / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of SimCode: time 2.014e-06/0.01838, allocations: 0 / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.009304/0.02768, allocations: 4.022 MB / 0.8921 GB, free: 7.902 MB / 0.8542 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.5576393839437515]