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.001401/0.001401, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001457/0.001457, allocations: 165 kB / 23.82 MB, free: 0.75 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.9236/0.9236, allocations: 177.1 MB / 204.2 MB, free: 5.602 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.842/1.842, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] 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.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.643e-06/1.643e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.999e-05, allocations: 3.516 kB / 0.8115 GB, free: 1.719 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1392/0.1392, allocations: 149.6 MB / 0.9576 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002462/0.1417, allocations: 2.313 MB / 0.9599 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000242/0.1419, allocations: 31.75 kB / 0.9599 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005369/0.1425, allocations: 218.3 kB / 0.9601 GB, free: 9.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.1436, allocations: 0.835 MB / 0.9609 GB, free: 8.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008323/0.1444, allocations: 0.6352 MB / 0.9616 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.1456, allocations: 1.631 MB / 0.9631 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00082/0.1464, allocations: 0.9122 MB / 0.964 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007552/0.1471, allocations: 0.9899 MB / 0.965 GB, free: 4.035 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006665/0.1478, allocations: 0.7753 MB / 0.9658 GB, free: 3.254 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.1479, allocations: 100 kB / 0.9659 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/0.1484, allocations: 439 kB / 0.9663 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002444/0.1487, allocations: 382.9 kB / 0.9666 GB, free: 2.352 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.149, allocations: 395.1 kB / 0.967 GB, free: 1.965 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.15, allocations: 1.133 MB / 0.9681 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.15, allocations: 4 kB / 0.9681 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.222e-06/0.15, allocations: 0 / 0.9681 GB, free: 0.8242 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.15, allocations: 0 / 0.9681 GB, free: 0.8242 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001488/0.1515, allocations: 1.246 MB / 0.9693 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1515, allocations: 8.031 kB / 0.9694 GB, free: 15.53 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009082/0.1524, allocations: 315.7 kB / 0.9697 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.1531, allocations: 0.5645 MB / 0.9702 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.1531, allocations: 37 kB / 0.9702 GB, free: 14.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/0.1532, allocations: 52 kB / 0.9703 GB, free: 14.55 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008784/0.1541, allocations: 0.8744 MB / 0.9711 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.1541, allocations: 7.984 kB / 0.9711 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.116e-05/0.1542, allocations: 28 kB / 0.9712 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.1542, allocations: 23.98 kB / 0.9712 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006838/0.1549, allocations: 0.513 MB / 0.9717 GB, free: 12.99 MB / 0.9323 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.00306/0.158, allocations: 4.301 MB / 0.9759 GB, free: 8.551 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.1584, allocations: 333 kB / 0.9762 GB, free: 8.211 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.1588, allocations: 289 kB / 0.9765 GB, free: 7.926 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003332/0.1591, allocations: 108.4 kB / 0.9766 GB, free: 7.82 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.1591, allocations: 45.83 kB / 0.9766 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001171/0.1603, allocations: 0.6321 MB / 0.9773 GB, free: 7.133 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=50): time 2.104e-06/0.1603, allocations: 0 / 0.9773 GB, free: 7.133 MB / 0.9323 GB Notification: Performance of matching and sorting (n=50): time 0.007509/0.1678, allocations: 2.61 MB / 0.9798 GB, free: 4.508 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.1679, allocations: 55.91 kB / 0.9799 GB, free: 4.441 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.1683, allocations: 0.5582 MB / 0.9804 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.1683, allocations: 41.7 kB / 0.9804 GB, free: 3.82 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1685, allocations: 387.8 kB / 0.9808 GB, free: 3.434 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.1686, allocations: 178.4 kB / 0.981 GB, free: 3.258 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001801/0.1688, allocations: 159.7 kB / 0.9811 GB, free: 3.094 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.169, allocations: 0.5469 MB / 0.9817 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.1692, allocations: 212.8 kB / 0.9819 GB, free: 2.328 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000488/0.1697, allocations: 365.9 kB / 0.9822 GB, free: 1.918 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006647/0.1704, allocations: 0.5614 MB / 0.9828 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1704, allocations: 4 kB / 0.9828 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.004752/0.1752, allocations: 1.779 MB / 0.9845 GB, free: 15.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.1752, allocations: 8 kB / 0.9845 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1752, allocations: 0 / 0.9845 GB, free: 15.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005638/0.1808, allocations: 2.11 MB / 0.9866 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.1811, allocations: 95.81 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006198/0.1873, allocations: 5.646 MB / 0.9922 GB, free: 7.391 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.1876, allocations: 12 kB / 0.9922 GB, free: 7.379 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.105e-05/0.1876, allocations: 55.92 kB / 0.9923 GB, free: 7.324 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * 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.0001866/0.1878, allocations: 184.4 kB / 0.9924 GB, free: 7.133 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.188, allocations: 87.58 kB / 0.9925 GB, free: 7.047 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/0.1906, allocations: 1.373 MB / 0.9939 GB, free: 5.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1906, allocations: 8 kB / 0.9939 GB, free: 5.652 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1906, allocations: 7.984 kB / 0.9939 GB, free: 5.645 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1906, allocations: 0 / 0.9939 GB, free: 5.645 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002957/0.1935, allocations: 1.955 MB / 0.9958 GB, free: 3.613 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1935, allocations: 0 / 0.9958 GB, free: 3.613 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.1938, allocations: 96.02 kB / 0.9959 GB, free: 3.52 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002667/0.1964, allocations: 1.342 MB / 0.9972 GB, free: 2.168 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/0.1965, allocations: 19.94 kB / 0.9972 GB, free: 2.148 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003347/0.1998, allocations: 4.451 MB / 1.002 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1998, allocations: 0 / 1.002 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.2024, allocations: 1.579 MB / 1.003 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.2026, allocations: 139.4 kB / 1.003 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.2027, allocations: 19.98 kB / 1.003 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.2029, allocations: 19.94 kB / 1.003 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.203, allocations: 56.34 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.588e-05/0.2031, allocations: 24.05 kB / 1.003 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002701/0.2033, allocations: 379 kB / 1.004 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.2033, allocations: 0 / 1.004 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0006658/0.204, allocations: 303.6 kB / 1.004 GB, free: 10.91 MB / 0.9636 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.0002748/0.2043, allocations: 163.5 kB / 1.004 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.206, allocations: 1.221 MB / 1.005 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2061, allocations: 0 / 1.005 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008729/0.2069, allocations: 0.8742 MB / 1.006 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009271/0.2079, allocations: 354.9 kB / 1.007 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.2098, allocations: 1.509 MB / 1.008 GB, free: 6.656 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.2099, allocations: 192.5 kB / 1.008 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002623/0.2102, allocations: 129.3 kB / 1.008 GB, free: 6.316 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.2103, allocations: 60.48 kB / 1.008 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of SimCode: time 8.22e-07/0.2103, allocations: 0 / 1.008 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of Templates: time 0.02059/0.2309, allocations: 20.8 MB / 1.029 GB, free: 1.812 MB / 0.9792 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.537355869077146]