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.000833/0.000833, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007971/0.0007971, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8465/0.8465, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.617/1.617, allocations: 359 MB / 0.6044 GB, free: 11.1 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.1.|conCom.y1.2.|conCom.y1.3.|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.1.|conCom.y1.2.|conCom.y1.3.|conCom.y1One|conCom.nUniOn|conCom.nUniOnBou",fileNamePrefix="Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.773e-05/3.984e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.002006/0.002046, allocations: 0.8065 MB / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.003414, allocations: 1.194 MB / 0.9537 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.003495, allocations: 0 / 0.9537 GB, free: 1 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.003616, allocations: 19.8 kB / 0.9537 GB, free: 0.9805 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.003734, allocations: 11.88 kB / 0.9537 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.004194, allocations: 154.2 kB / 0.9538 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003431/0.004537, allocations: 347.4 kB / 0.9542 GB, free: 492 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.004701, allocations: 66.91 kB / 0.9542 GB, free: 424 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.004876, allocations: 207.7 kB / 0.9544 GB, free: 216 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.005066, allocations: 143.8 kB / 0.9546 GB, free: 72 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.005109, allocations: 39.94 kB / 0.9546 GB, free: 32 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.581e-05/0.005205, allocations: 40.03 kB / 0.9546 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.413e-05/0.005269, allocations: 47.84 kB / 0.9547 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.005369, allocations: 107.8 kB / 0.9548 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.005736, allocations: 458.8 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.00574, allocations: 0 / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.733e-06/0.005741, allocations: 0 / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.005746, allocations: 0 / 0.9552 GB, free: 15.39 MB / 0.9167 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.0006478/0.006394, allocations: 0.5064 MB / 0.9557 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.006433, allocations: 12.02 kB / 0.9557 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.006503, allocations: 28.8 kB / 0.9558 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.006776, allocations: 226.1 kB / 0.956 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/0.006811, allocations: 20.38 kB / 0.956 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.006847, allocations: 24.38 kB / 0.956 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.007069, allocations: 182.1 kB / 0.9562 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.007077, allocations: 192 / 0.9562 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.007093, allocations: 4.375 kB / 0.9562 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.007098, allocations: 4.375 kB / 0.9562 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.007258, allocations: 155.8 kB / 0.9563 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.007904, allocations: 0.5389 MB / 0.9569 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.008061, allocations: 126.4 kB / 0.957 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7e-05/0.008131, allocations: 68.75 kB / 0.9571 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.008153, allocations: 4 kB / 0.9571 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.008328, allocations: 173.9 kB / 0.9572 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.008329, allocations: 0 / 0.9572 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.0003721/0.008701, allocations: 301.5 kB / 0.9575 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.466e-05/0.008736, allocations: 63.41 kB / 0.9576 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.008865, allocations: 203.6 kB / 0.9578 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.008898, allocations: 37.69 kB / 0.9578 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.008975, allocations: 136.4 kB / 0.9579 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.009001, allocations: 43.69 kB / 0.958 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/0.009098, allocations: 81.67 kB / 0.9581 GB, free: 12.31 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.009246, allocations: 322.8 kB / 0.9584 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/0.009526, allocations: 324.9 kB / 0.9587 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.009801, allocations: 381.7 kB / 0.959 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.0101, allocations: 397.9 kB / 0.9594 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.0101, allocations: 0 / 0.9594 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006463/0.01075, allocations: 0.7395 MB / 0.9601 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.531e-05/0.01081, allocations: 101.3 kB / 0.9602 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.01081, allocations: 0 / 0.9602 GB, free: 9.906 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.01083, allocations: 7.938 kB / 0.9602 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-05/0.01093, allocations: 19.92 kB / 0.9603 GB, free: 9.879 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.01093, allocations: 4 kB / 0.9603 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.0112, allocations: 99.77 kB / 0.9604 GB, free: 9.777 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.01124, allocations: 31.97 kB / 0.9604 GB, free: 9.746 MB / 0.9167 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.0001194/0.01136, allocations: 161.8 kB / 0.9605 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.01137, allocations: 15.91 kB / 0.9606 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.01164, allocations: 234.2 kB / 0.9608 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01164, allocations: 7.938 kB / 0.9608 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.01165, allocations: 0 / 0.9608 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01165, allocations: 0 / 0.9608 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.0118, allocations: 193.2 kB / 0.961 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.0118, allocations: 4 kB / 0.961 GB, free: 9.094 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.631e-05/0.01184, allocations: 15.98 kB / 0.961 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01185, allocations: 0 / 0.961 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.01186, allocations: 0 / 0.961 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01186, allocations: 7.938 kB / 0.961 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.01186, allocations: 11.86 kB / 0.961 GB, free: 9.059 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.01208, allocations: 244.8 kB / 0.9613 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.01209, allocations: 23.89 kB / 0.9613 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.01211, allocations: 0 / 0.9613 GB, free: 8.777 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.891e-05/0.01214, allocations: 11.98 kB / 0.9613 GB, free: 8.766 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.01218, allocations: 15.91 kB / 0.9613 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.01219, allocations: 12 kB / 0.9613 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.336e-05/0.01227, allocations: 135.2 kB / 0.9614 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01227, allocations: 0 / 0.9614 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002106/0.01248, allocations: 63.94 kB / 0.9615 GB, free: 8.543 MB / 0.9167 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.0001371/0.01261, allocations: 107.2 kB / 0.9616 GB, free: 8.43 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005306/0.01314, allocations: 0.6161 MB / 0.9622 GB, free: 7.758 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.01315, allocations: 8.375 kB / 0.9622 GB, free: 7.75 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.869e-05/0.01325, allocations: 99.81 kB / 0.9623 GB, free: 7.652 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.01346, allocations: 35.97 kB / 0.9623 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.01397, allocations: 408 kB / 0.9627 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.279e-05/0.01406, allocations: 136.1 kB / 0.9629 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.0141, allocations: 20.44 kB / 0.9629 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of SimCode: time 8.72e-07/0.0141, allocations: 0 / 0.9629 GB, free: 7.016 MB / 0.9167 GB Notification: Performance of Templates: time 0.003699/0.0178, allocations: 3.324 MB / 0.9661 GB, free: 3.719 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Components.Controls.Validation.MultipleCommands.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.559833527542651]