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.0009049/0.0009049, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001003/0.001003, allocations: 165 kB / 23.02 MB, free: 1.551 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 1.011/1.011, allocations: 177.2 MB / 203.4 MB, free: 5.641 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.103/2.103, allocations: 429.5 MB / 0.6733 GB, free: 4 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 1.673e-06/1.673e-06, allocations: 0.7656 kB / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.994e-05, allocations: 8.281 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.00506/0.00509, allocations: 0.8506 MB / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.00653, allocations: 1.214 MB / 0.8802 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.343e-05/0.006623, allocations: 3.938 kB / 0.8802 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.006785, allocations: 23.8 kB / 0.8802 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.006923, allocations: 7.875 kB / 0.8802 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.007441, allocations: 152.8 kB / 0.8803 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.007775, allocations: 352.4 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.007965, allocations: 58.92 kB / 0.8807 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.008141, allocations: 207.8 kB / 0.8809 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.00834, allocations: 148.4 kB / 0.8811 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.008389, allocations: 32.72 kB / 0.8811 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.222e-05/0.008482, allocations: 47.98 kB / 0.8812 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.00855, allocations: 47.7 kB / 0.8812 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.008662, allocations: 107.8 kB / 0.8813 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.00901, allocations: 327.2 kB / 0.8816 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.009015, allocations: 3.938 kB / 0.8816 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.009016, allocations: 0 / 0.8816 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.009022, allocations: 0 / 0.8816 GB, free: 2.781 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.0007002/0.009722, allocations: 0.6102 MB / 0.8822 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.009764, allocations: 12.03 kB / 0.8822 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.009843, allocations: 28.84 kB / 0.8823 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.01014, allocations: 226.1 kB / 0.8825 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.01018, allocations: 13.84 kB / 0.8825 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.01022, allocations: 24.38 kB / 0.8825 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.01041, allocations: 115.9 kB / 0.8826 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01042, allocations: 192 / 0.8826 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.01043, allocations: 5.406 kB / 0.8826 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.01044, allocations: 4.375 kB / 0.8826 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.683e-05/0.01053, allocations: 49.53 kB / 0.8827 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006631/0.01119, allocations: 0.5592 MB / 0.8832 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.01132, allocations: 67.03 kB / 0.8833 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.01136, allocations: 23.67 kB / 0.8833 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.01138, allocations: 4 kB / 0.8833 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.01154, allocations: 139.8 kB / 0.8834 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 2.766e-06/0.01154, allocations: 0 / 0.8834 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0003243/0.01186, allocations: 168.2 kB / 0.8836 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.01191, allocations: 59.41 kB / 0.8837 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.01207, allocations: 241.8 kB / 0.8839 GB, free: 276 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.0121, allocations: 33.7 kB / 0.8839 GB, free: 236 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.0122, allocations: 191.1 kB / 0.8841 GB, free: 40 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.01225, allocations: 45.59 kB / 0.8842 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.01235, allocations: 99.31 kB / 0.8842 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.01256, allocations: 0.5001 MB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.01275, allocations: 173 kB / 0.8849 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.01296, allocations: 263.6 kB / 0.8851 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.01319, allocations: 272 kB / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.0132, allocations: 0 / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005034/0.0137, allocations: 0.4925 MB / 0.8859 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.609e-05/0.01376, allocations: 97.09 kB / 0.886 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01376, allocations: 0 / 0.886 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.01378, allocations: 7.75 kB / 0.886 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.01388, allocations: 23.98 kB / 0.886 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.01389, allocations: 7.938 kB / 0.886 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.0141, allocations: 76 kB / 0.8861 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.01414, allocations: 23.98 kB / 0.8861 GB, free: 13.79 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.0001104/0.01425, allocations: 180.8 kB / 0.8863 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.01427, allocations: 19.91 kB / 0.8863 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.01449, allocations: 147.2 kB / 0.8864 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01449, allocations: 4 kB / 0.8865 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01449, allocations: 0 / 0.8865 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.0145, allocations: 0 / 0.8865 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.01464, allocations: 192.6 kB / 0.8866 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.01464, allocations: 4 kB / 0.8866 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.664e-05/0.01469, allocations: 15.98 kB / 0.8867 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.01469, allocations: 3.938 kB / 0.8867 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.0147, allocations: 4 kB / 0.8867 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01471, allocations: 3.938 kB / 0.8867 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01471, allocations: 0 / 0.8867 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.01489, allocations: 179.4 kB / 0.8868 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.362e-05/0.01491, allocations: 11.91 kB / 0.8868 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.01493, allocations: 11.98 kB / 0.8869 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.449e-05/0.01495, allocations: 3.938 kB / 0.8869 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.015, allocations: 19.97 kB / 0.8869 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.015, allocations: 4 kB / 0.8869 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.213e-05/0.01508, allocations: 164.2 kB / 0.887 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01508, allocations: 0 / 0.887 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000201/0.01528, allocations: 67.89 kB / 0.8871 GB, free: 12.7 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.0001351/0.01541, allocations: 113.1 kB / 0.8872 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004007/0.01581, allocations: 439.1 kB / 0.8876 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01582, allocations: 4.062 kB / 0.8876 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.726e-05/0.01588, allocations: 59.59 kB / 0.8877 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.0161, allocations: 31.91 kB / 0.8877 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.01655, allocations: 334.9 kB / 0.888 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.01661, allocations: 87.81 kB / 0.8881 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.866e-05/0.01666, allocations: 25.47 kB / 0.8882 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.0167, allocations: 16.5 kB / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/0.0167, allocations: 0 / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of Templates: time 0.005436/0.02213, allocations: 4.027 MB / 0.8921 GB, free: 7.539 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.757029072847217]