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.0009481/0.0009481, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.0009986/0.0009986, allocations: 173 kB / 23.28 MB, free: 1.211 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.2 MB / 203.7 MB, free: 5.5 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.341/2.341, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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 1.724e-06/1.724e-06, allocations: 0 / 0.8897 GB, free: 9.785 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.699e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.001664/0.001691, allocations: 0.8375 MB / 0.8905 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.002997, allocations: 1.217 MB / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.903e-05/0.003076, allocations: 0 / 0.8917 GB, free: 7.715 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.003194, allocations: 11.86 kB / 0.8917 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.003299, allocations: 23.84 kB / 0.8918 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.003699, allocations: 139.6 kB / 0.8919 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.004004, allocations: 363.3 kB / 0.8922 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.004156, allocations: 62.91 kB / 0.8923 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.004321, allocations: 199.7 kB / 0.8925 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.004512, allocations: 147.8 kB / 0.8926 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.00456, allocations: 36 kB / 0.8927 GB, free: 6.75 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.661e-05/0.004646, allocations: 40 kB / 0.8927 GB, free: 6.711 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.004703, allocations: 51.83 kB / 0.8928 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.052e-05/0.004794, allocations: 103.8 kB / 0.8929 GB, free: 6.559 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.00509, allocations: 323.2 kB / 0.8932 GB, free: 6.242 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.005094, allocations: 8 kB / 0.8932 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.432e-06/0.005096, allocations: 0 / 0.8932 GB, free: 6.234 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.0051, allocations: 0 / 0.8932 GB, free: 6.234 MB / 0.8542 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.0005767/0.005677, allocations: 0.6101 MB / 0.8938 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.005721, allocations: 16.61 kB / 0.8938 GB, free: 5.551 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.005787, allocations: 40.8 kB / 0.8938 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.006018, allocations: 197.7 kB / 0.894 GB, free: 5.289 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.006047, allocations: 20.38 kB / 0.894 GB, free: 5.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.00608, allocations: 24.38 kB / 0.8941 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.006217, allocations: 98.88 kB / 0.8941 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.006225, allocations: 8.188 kB / 0.8942 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.006236, allocations: 4.375 kB / 0.8942 GB, free: 5.129 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.006242, allocations: 4.375 kB / 0.8942 GB, free: 5.125 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.461e-05/0.006297, allocations: 40.84 kB / 0.8942 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007072/0.007004, allocations: 0.4959 MB / 0.8947 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.985e-05/0.007104, allocations: 63.03 kB / 0.8947 GB, free: 4.488 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.007132, allocations: 23.8 kB / 0.8948 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.007152, allocations: 4 kB / 0.8948 GB, free: 4.457 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/0.007285, allocations: 132.9 kB / 0.8949 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.007287, allocations: 0 / 0.8949 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0002524/0.007539, allocations: 152.3 kB / 0.895 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.007584, allocations: 59.34 kB / 0.8951 GB, free: 4.09 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.007713, allocations: 254.2 kB / 0.8953 GB, free: 3.824 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.007743, allocations: 37.69 kB / 0.8954 GB, free: 3.781 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.007829, allocations: 183.1 kB / 0.8956 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.007855, allocations: 47.66 kB / 0.8956 GB, free: 3.547 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.787e-05/0.007953, allocations: 91.3 kB / 0.8957 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.008072, allocations: 0.504 MB / 0.8962 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.00821, allocations: 165 kB / 0.8963 GB, free: 2.754 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.008371, allocations: 242 kB / 0.8966 GB, free: 2.469 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.008567, allocations: 256.3 kB / 0.8968 GB, free: 2.168 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.008569, allocations: 4 kB / 0.8968 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004251/0.008994, allocations: 481.5 kB / 0.8973 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.00905, allocations: 97.03 kB / 0.8974 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.009056, allocations: 0 / 0.8974 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.00907, allocations: 4 kB / 0.8974 GB, free: 1.535 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.359e-05/0.009153, allocations: 27.86 kB / 0.8974 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.009158, allocations: 4 kB / 0.8974 GB, free: 1.504 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.009343, allocations: 60.06 kB / 0.8975 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.009375, allocations: 23.98 kB / 0.8975 GB, free: 1.422 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.0001189/0.009494, allocations: 184.5 kB / 0.8977 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.009519, allocations: 23.89 kB / 0.8977 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.009704, allocations: 131.4 kB / 0.8978 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.009708, allocations: 4 kB / 0.8978 GB, free: 1.066 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.00971, allocations: 3.938 kB / 0.8978 GB, free: 1.062 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.009715, allocations: 4 kB / 0.8978 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.009853, allocations: 157.1 kB / 0.898 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.009855, allocations: 0 / 0.898 GB, free: 0.8789 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.431e-05/0.0099, allocations: 11.94 kB / 0.898 GB, free: 0.8672 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.009904, allocations: 4 kB / 0.898 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.009912, allocations: 4 kB / 0.898 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.009914, allocations: 0 / 0.898 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.009915, allocations: 0 / 0.898 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.01008, allocations: 178.5 kB / 0.8982 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.01009, allocations: 15.91 kB / 0.8982 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.01011, allocations: 0 / 0.8982 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.299e-05/0.01013, allocations: 8 kB / 0.8982 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.01017, allocations: 11.97 kB / 0.8982 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.01018, allocations: 8 kB / 0.8982 GB, free: 0.6211 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.01024, allocations: 159.1 kB / 0.8984 GB, free: 476 kB / 0.8542 GB Notification: Performance of sort global known variables: time 1.31e-07/0.01024, allocations: 0 / 0.8984 GB, free: 476 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001996/0.01044, allocations: 63.94 kB / 0.8984 GB, free: 412 kB / 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.0001505/0.01059, allocations: 111.2 kB / 0.8985 GB, free: 292 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.01093, allocations: 423.1 kB / 0.8989 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.01093, allocations: 3.938 kB / 0.8989 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.944e-05/0.01098, allocations: 47.66 kB / 0.899 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01119, allocations: 31.97 kB / 0.899 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.01161, allocations: 322.9 kB / 0.8993 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.275e-05/0.01166, allocations: 91.75 kB / 0.8994 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.163e-05/0.0117, allocations: 17.55 kB / 0.8994 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001656/0.01187, allocations: 126.1 kB / 0.8995 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of SimCode: time 1.273e-06/0.01187, allocations: 0 / 0.8995 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of Templates: time 0.006809/0.01868, allocations: 4.316 MB / 0.9037 GB, free: 10.89 MB / 0.8698 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.3151971669867635]