Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008906/0.0008906, 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.0009375/0.0009375, allocations: 169 kB / 24.28 MB, free: 280 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 0.9416/0.9416, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.959/1.959, allocations: 377.8 MB / 0.6239 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.9e-05/3.105e-05, allocations: 3.406 kB / 0.8115 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Controls.Validation.MultipleCommands): time 0.00165/0.001681, allocations: 0.8425 MB / 0.8123 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.002985, allocations: 1.215 MB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.003062, allocations: 0 / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.003176, allocations: 15.86 kB / 0.8135 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.003284, allocations: 16.69 kB / 0.8135 GB, free: 4 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.003794, allocations: 148.5 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000336/0.00413, allocations: 348.9 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.00431, allocations: 70.86 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.004504, allocations: 207.7 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.004714, allocations: 143.8 kB / 0.8144 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.004761, allocations: 33.53 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.394e-05/0.004845, allocations: 47.98 kB / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.004908, allocations: 47.83 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.00505, allocations: 107.8 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.005509, allocations: 324.4 kB / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.005515, allocations: 0 / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005516, allocations: 0 / 0.8149 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.005524, allocations: 1.375 kB / 0.8149 GB, free: 14.56 MB / 0.7761 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.000875/0.006399, allocations: 0.6062 MB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.006444, allocations: 8.031 kB / 0.8155 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.006572, allocations: 42.55 kB / 0.8156 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.006918, allocations: 210.2 kB / 0.8158 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.006959, allocations: 20.38 kB / 0.8158 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.006996, allocations: 24.38 kB / 0.8158 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.007231, allocations: 118.9 kB / 0.8159 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.007241, allocations: 4.938 kB / 0.8159 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.007258, allocations: 384 / 0.816 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.007272, allocations: 5.094 kB / 0.816 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.007404, allocations: 47.91 kB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009872/0.008391, allocations: 0.5471 MB / 0.8165 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.008565, allocations: 72.34 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.248e-05/0.008638, allocations: 27.67 kB / 0.8166 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.008661, allocations: 4 kB / 0.8166 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.00888, allocations: 135.5 kB / 0.8168 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 4.329e-06/0.008884, allocations: 3.984 kB / 0.8168 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0004064/0.00929, allocations: 172.4 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.009342, allocations: 55.41 kB / 0.817 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.00956, allocations: 250.8 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.43e-05/0.009615, allocations: 37.7 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.009752, allocations: 183.7 kB / 0.8174 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.009792, allocations: 39.69 kB / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.00991, allocations: 99.97 kB / 0.8176 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.01003, allocations: 0.5045 MB / 0.8181 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.01027, allocations: 181 kB / 0.8182 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.01058, allocations: 270.3 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.01093, allocations: 267.7 kB / 0.8187 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01094, allocations: 0.7812 kB / 0.8187 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007835/0.01172, allocations: 499.8 kB / 0.8192 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/0.0118, allocations: 97.09 kB / 0.8193 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.01181, allocations: 5.125 kB / 0.8193 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.01183, allocations: 3.938 kB / 0.8193 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.01196, allocations: 19.92 kB / 0.8193 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.01197, allocations: 4.844 kB / 0.8193 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.01234, allocations: 85.98 kB / 0.8194 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.01239, allocations: 23.98 kB / 0.8195 GB, free: 9.555 MB / 0.7761 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.0002517/0.01265, allocations: 179.3 kB / 0.8196 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.01268, allocations: 23.91 kB / 0.8196 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.01291, allocations: 139.4 kB / 0.8198 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01292, allocations: 3.938 kB / 0.8198 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01292, allocations: 0 / 0.8198 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01293, allocations: 4 kB / 0.8198 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.01309, allocations: 194.1 kB / 0.82 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.0131, allocations: 0 / 0.82 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.01316, allocations: 15.92 kB / 0.82 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.01316, allocations: 4 kB / 0.82 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.01317, allocations: 0 / 0.82 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.01318, allocations: 0.625 kB / 0.82 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.01318, allocations: 4.5 kB / 0.82 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.01338, allocations: 176.2 kB / 0.8202 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.01339, allocations: 12.59 kB / 0.8202 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.01341, allocations: 7.984 kB / 0.8202 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.881e-05/0.01344, allocations: 9.781 kB / 0.8202 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.924e-05/0.0135, allocations: 19.91 kB / 0.8202 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.01351, allocations: 4 kB / 0.8202 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.916e-05/0.0136, allocations: 163.2 kB / 0.8204 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0136, allocations: 0 / 0.8204 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002308/0.01383, allocations: 69.23 kB / 0.8204 GB, free: 8.484 MB / 0.7761 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.0001612/0.01399, allocations: 112.3 kB / 0.8205 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004128/0.01441, allocations: 439.4 kB / 0.821 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01441, allocations: 0.7188 kB / 0.821 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.183e-05/0.01448, allocations: 61.56 kB / 0.821 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.01473, allocations: 39.7 kB / 0.8211 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000598/0.01533, allocations: 331.1 kB / 0.8214 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.841e-05/0.0154, allocations: 87.81 kB / 0.8215 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.643e-05/0.01547, allocations: 22.91 kB / 0.8215 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.01552, allocations: 16.5 kB / 0.8215 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of SimCode: time 1.533e-06/0.01552, allocations: 0 / 0.8215 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of Templates: time 0.006421/0.02194, allocations: 4.019 MB / 0.8254 GB, free: 3.367 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.sim & ./Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Controls.Validation.MultipleCommands_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.4445767109282315]