Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.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.0009352/0.0009352, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009804/0.0009804, allocations: 161 kB / 24.17 MB, free: 332 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.911/0.911, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.766/1.766, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.76 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.499e-05, allocations: 2.312 kB / 0.76 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.138/0.138, allocations: 148.9 MB / 0.9055 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.1404, allocations: 2.356 MB / 0.9078 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.1407, allocations: 27.75 kB / 0.9078 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005212/0.1412, allocations: 222.3 kB / 0.908 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0009827/0.1422, allocations: 0.8427 MB / 0.9088 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007802/0.1429, allocations: 0.6508 MB / 0.9095 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001055/0.144, allocations: 1.619 MB / 0.911 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007028/0.1447, allocations: 0.8946 MB / 0.9119 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008257/0.1455, allocations: 1.099 MB / 0.913 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006117/0.1461, allocations: 0.748 MB / 0.9137 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 9.754e-05/0.1462, allocations: 96 kB / 0.9138 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.1467, allocations: 399.2 kB / 0.9142 GB, free: 8.414 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.1469, allocations: 378.9 kB / 0.9145 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.1472, allocations: 387.1 kB / 0.9149 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008813/0.1481, allocations: 1.121 MB / 0.916 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1481, allocations: 0 / 0.916 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1481, allocations: 0 / 0.916 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.1481, allocations: 0 / 0.916 GB, free: 6.539 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001212/0.1493, allocations: 1.067 MB / 0.9171 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1493, allocations: 8.031 kB / 0.9171 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006807/0.15, allocations: 288.1 kB / 0.9173 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.1505, allocations: 464.8 kB / 0.9178 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.1505, allocations: 44.98 kB / 0.9178 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-05/0.1506, allocations: 48 kB / 0.9179 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.1512, allocations: 0.7488 MB / 0.9186 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1512, allocations: 7.938 kB / 0.9186 GB, free: 3.742 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.773e-05/0.1513, allocations: 20 kB / 0.9186 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.1513, allocations: 23.98 kB / 0.9186 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003624/0.1517, allocations: 345.3 kB / 0.919 GB, free: 3.359 MB / 0.8698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.1538, allocations: 2.854 MB / 0.9218 GB, free: 424 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.1541, allocations: 280 kB / 0.922 GB, free: 136 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.1545, allocations: 197.1 kB / 0.9222 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.1547, allocations: 128.3 kB / 0.9223 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.1548, allocations: 39.06 kB / 0.9224 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001095/0.1559, allocations: 0.6514 MB / 0.923 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=50): time 2.374e-06/0.1559, allocations: 3.938 kB / 0.923 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of matching and sorting (n=50): time 0.006253/0.1621, allocations: 2.249 MB / 0.9252 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.1621, allocations: 55.91 kB / 0.9253 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003293/0.1625, allocations: 0.5466 MB / 0.9258 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.1625, allocations: 33.7 kB / 0.9258 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.1626, allocations: 313.8 kB / 0.9261 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.1628, allocations: 186.3 kB / 0.9263 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.1629, allocations: 162.4 kB / 0.9265 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.163, allocations: 394.5 kB / 0.9268 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.1632, allocations: 144.7 kB / 0.927 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.1635, allocations: 426.8 kB / 0.9274 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.1639, allocations: 0.6087 MB / 0.928 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.164, allocations: 0 / 0.928 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004057/0.168, allocations: 1.621 MB / 0.9296 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.168, allocations: 12.03 kB / 0.9296 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.168, allocations: 8 kB / 0.9296 GB, free: 8.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005012/0.173, allocations: 2.095 MB / 0.9316 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.1733, allocations: 123.8 kB / 0.9317 GB, free: 5.863 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004512/0.1778, allocations: 4.096 MB / 0.9357 GB, free: 1.574 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/0.1781, allocations: 20 kB / 0.9358 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/0.1782, allocations: 47.91 kB / 0.9358 GB, free: 1.508 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.1784, allocations: 156.4 kB / 0.936 GB, free: 1.344 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.1785, allocations: 67.86 kB / 0.936 GB, free: 1.277 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/0.1804, allocations: 1.172 MB / 0.9372 GB, free: 80 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1804, allocations: 8.125 kB / 0.9372 GB, free: 72 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1804, allocations: 8 kB / 0.9372 GB, free: 64 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1804, allocations: 3.984 kB / 0.9372 GB, free: 60 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.1827, allocations: 1.556 MB / 0.9387 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1827, allocations: 0 / 0.9387 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.1829, allocations: 87.83 kB / 0.9388 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002205/0.1851, allocations: 1.39 MB / 0.9401 GB, free: 12.96 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.1851, allocations: 12 kB / 0.9402 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.1877, allocations: 3.24 MB / 0.9433 GB, free: 9.523 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1877, allocations: 4 kB / 0.9433 GB, free: 9.52 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.1901, allocations: 1.316 MB / 0.9446 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.1902, allocations: 103.3 kB / 0.9447 GB, free: 8.051 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.1903, allocations: 15.98 kB / 0.9447 GB, free: 8.035 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.1905, allocations: 16 kB / 0.9447 GB, free: 8.02 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/0.1906, allocations: 52.34 kB / 0.9448 GB, free: 7.969 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.1906, allocations: 12 kB / 0.9448 GB, free: 7.957 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001801/0.1908, allocations: 260.6 kB / 0.9451 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1908, allocations: 0 / 0.9451 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006211/0.1914, allocations: 299.7 kB / 0.9453 GB, free: 7.414 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002368/0.1917, allocations: 156.2 kB / 0.9455 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.1931, allocations: 1.029 MB / 0.9465 GB, free: 6.199 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.1931, allocations: 12 kB / 0.9465 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006795/0.1938, allocations: 0.6699 MB / 0.9472 GB, free: 5.488 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008217/0.1946, allocations: 365.4 kB / 0.9475 GB, free: 5.133 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.1963, allocations: 1.398 MB / 0.9489 GB, free: 3.688 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.1964, allocations: 196.8 kB / 0.9491 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002579/0.1967, allocations: 130.1 kB / 0.9492 GB, free: 3.348 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000447/0.1971, allocations: 273.1 kB / 0.9494 GB, free: 3.082 MB / 0.9011 GB Notification: Performance of SimCode: time 9.11e-07/0.1971, allocations: 0 / 0.9494 GB, free: 3.082 MB / 0.9011 GB Notification: Performance of Templates: time 0.02158/0.2187, allocations: 22.01 MB / 0.9709 GB, free: 13.43 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.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.441805833950639]