Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001681/0.001681, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.002111/0.002111, allocations: 169 kB / 24.28 MB, free: 276 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 1.007/1.007, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.784/1.784, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.952e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001715/0.001745, allocations: 0.8409 MB / 0.7879 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.002981, allocations: 1.211 MB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.506e-05/0.003066, allocations: 4 kB / 0.7891 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000126/0.003192, allocations: 11.86 kB / 0.7891 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.003309, allocations: 29 kB / 0.7891 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004164/0.003725, allocations: 136.3 kB / 0.7892 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003225/0.004047, allocations: 352.2 kB / 0.7896 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.004216, allocations: 66.84 kB / 0.7896 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.004384, allocations: 200.5 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.004579, allocations: 155.6 kB / 0.79 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.004624, allocations: 33.59 kB / 0.79 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.032e-05/0.004705, allocations: 47.98 kB / 0.7901 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.004763, allocations: 47.84 kB / 0.7901 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.004877, allocations: 107.8 kB / 0.7902 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.005194, allocations: 322.6 kB / 0.7905 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.005198, allocations: 0 / 0.7905 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005199, allocations: 0 / 0.7905 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.005206, allocations: 0 / 0.7905 GB, free: 9.32 MB / 0.7448 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.0006704/0.005876, allocations: 0.6141 MB / 0.7911 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.00593, allocations: 8.031 kB / 0.7911 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.00604, allocations: 40.8 kB / 0.7912 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.006394, allocations: 209.7 kB / 0.7914 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.006445, allocations: 16.38 kB / 0.7914 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.006487, allocations: 21.09 kB / 0.7914 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.006685, allocations: 122.8 kB / 0.7915 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.006694, allocations: 5.828 kB / 0.7915 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.006712, allocations: 8.375 kB / 0.7915 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.00672, allocations: 384 / 0.7915 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-05/0.006807, allocations: 47.91 kB / 0.7916 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.007456, allocations: 0.5587 MB / 0.7921 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.007577, allocations: 67.89 kB / 0.7922 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.007622, allocations: 23.67 kB / 0.7922 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.007639, allocations: 1.344 kB / 0.7922 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.007789, allocations: 135.6 kB / 0.7923 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.884e-06/0.007791, allocations: 0 / 0.7923 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003041/0.008095, allocations: 174.6 kB / 0.7925 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.008132, allocations: 55.41 kB / 0.7926 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.008288, allocations: 248.6 kB / 0.7928 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.00832, allocations: 37.69 kB / 0.7928 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.008415, allocations: 187.1 kB / 0.793 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.008442, allocations: 43.69 kB / 0.793 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.008544, allocations: 91.86 kB / 0.7931 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.008663, allocations: 0.5001 MB / 0.7936 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.008854, allocations: 181.6 kB / 0.7938 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.009062, allocations: 265.2 kB / 0.794 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.009296, allocations: 266.8 kB / 0.7943 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.009299, allocations: 1.375 kB / 0.7943 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005134/0.009812, allocations: 0.4929 MB / 0.7948 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.894e-05/0.009871, allocations: 93.09 kB / 0.7949 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.009877, allocations: 0.6562 kB / 0.7949 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.009892, allocations: 7.938 kB / 0.7949 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.188e-05/0.009984, allocations: 24.64 kB / 0.7949 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.009991, allocations: 4 kB / 0.7949 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.01021, allocations: 81.5 kB / 0.795 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.01024, allocations: 25.2 kB / 0.795 GB, free: 4.324 MB / 0.7448 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.0001115/0.01036, allocations: 177.4 kB / 0.7952 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.01038, allocations: 23.89 kB / 0.7952 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.01059, allocations: 145.6 kB / 0.7953 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01059, allocations: 3.938 kB / 0.7953 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.0106, allocations: 3.938 kB / 0.7953 GB, free: 3.961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.0106, allocations: 3.984 kB / 0.7954 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.01074, allocations: 192.5 kB / 0.7955 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01074, allocations: 0 / 0.7955 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.01078, allocations: 19.11 kB / 0.7956 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.01078, allocations: 0 / 0.7956 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.0108, allocations: 4 kB / 0.7956 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.0108, allocations: 0 / 0.7956 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.0108, allocations: 3.938 kB / 0.7956 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.01097, allocations: 183 kB / 0.7957 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.01098, allocations: 15.84 kB / 0.7958 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.01101, allocations: 4 kB / 0.7958 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/0.01103, allocations: 7.984 kB / 0.7958 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.01108, allocations: 13.17 kB / 0.7958 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.01109, allocations: 12 kB / 0.7958 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.238e-05/0.01116, allocations: 155.2 kB / 0.7959 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01116, allocations: 0.625 kB / 0.7959 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002129/0.01138, allocations: 71.88 kB / 0.796 GB, free: 3.238 MB / 0.7448 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.0001464/0.01152, allocations: 106.8 kB / 0.7961 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004362/0.01196, allocations: 455.7 kB / 0.7965 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01196, allocations: 1.094 kB / 0.7965 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.173e-05/0.01202, allocations: 47.61 kB / 0.7966 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.01225, allocations: 42.14 kB / 0.7966 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.01273, allocations: 326.5 kB / 0.7969 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.841e-05/0.01278, allocations: 87.81 kB / 0.797 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.774e-05/0.01282, allocations: 21.47 kB / 0.797 GB, free: 2.059 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.01286, allocations: 20.48 kB / 0.7971 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.01286, allocations: 0 / 0.7971 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of Templates: time 0.00576/0.01862, allocations: 4.025 MB / 0.801 GB, free: 14.12 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.295390531187877]