Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.318/2.318, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 182.5 kB / 491.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009709/0.0009709, allocations: 91.91 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.462e-05/1.461e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3094, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.408/5.717, allocations: 1.912 GB / 3.124 GB, free: 418.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/5.717, allocations: 79.95 kB / 3.124 GB, free: 418.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.919/7.636, allocations: 0.6733 GB / 3.797 GB, free: 164.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.443e-06/7.636, allocations: 0 / 3.797 GB, free: 164.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.999e-05/7.636, allocations: 20 kB / 3.797 GB, free: 164.6 MB / 1.151 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.002529/7.639, allocations: 1.064 MB / 3.798 GB, free: 163.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/7.639, allocations: 12.25 kB / 3.798 GB, free: 163.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/7.64, allocations: 230.8 kB / 3.799 GB, free: 163.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/7.641, allocations: 0.605 MB / 3.799 GB, free: 162.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/7.642, allocations: 16 kB / 3.799 GB, free: 162.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.81e-05/7.642, allocations: 35.91 kB / 3.799 GB, free: 162.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001103/7.643, allocations: 0.8695 MB / 3.8 GB, free: 161.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/7.644, allocations: 0.9236 MB / 3.801 GB, free: 160.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/7.644, allocations: 11.89 kB / 3.801 GB, free: 160.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/7.644, allocations: 4 kB / 3.801 GB, free: 160.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/7.644, allocations: 12 kB / 3.801 GB, free: 160.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.004203/7.648, allocations: 4.313 MB / 3.805 GB, free: 156.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/7.649, allocations: 0.5472 MB / 3.806 GB, free: 155.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004857/7.649, allocations: 0.4902 MB / 3.806 GB, free: 155.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008128/7.65, allocations: 0.8822 MB / 3.807 GB, free: 154.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/7.65, allocations: 39 kB / 3.807 GB, free: 154 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002175/7.652, allocations: 0.5422 MB / 3.808 GB, free: 153.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 5.52e-06/7.652, allocations: 0 / 3.808 GB, free: 153.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.01045/7.663, allocations: 2.369 MB / 3.81 GB, free: 151.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/7.663, allocations: 55.84 kB / 3.81 GB, free: 151 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007353/7.664, allocations: 463.4 kB / 3.81 GB, free: 150.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002061/7.664, allocations: 25.7 kB / 3.81 GB, free: 150.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/7.664, allocations: 324.6 kB / 3.811 GB, free: 150.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/7.664, allocations: 169.5 kB / 3.811 GB, free: 150.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/7.664, allocations: 4 kB / 3.811 GB, free: 150.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.836e-05/7.664, allocations: 370.8 kB / 3.811 GB, free: 149.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/7.665, allocations: 361 kB / 3.812 GB, free: 149.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004386/7.665, allocations: 462.1 kB / 3.812 GB, free: 148.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007034/7.666, allocations: 432.5 kB / 3.812 GB, free: 148.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/7.666, allocations: 0 / 3.812 GB, free: 148.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01035/7.676, allocations: 2.396 MB / 3.815 GB, free: 146 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/7.676, allocations: 4 kB / 3.815 GB, free: 146 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/7.676, allocations: 4 kB / 3.815 GB, free: 146 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008516/7.685, allocations: 1.531 MB / 3.816 GB, free: 144.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/7.686, allocations: 99.8 kB / 3.816 GB, free: 144.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/7.698, allocations: 6.252 MB / 3.822 GB, free: 137.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/7.699, allocations: 31.92 kB / 3.823 GB, free: 137.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/7.699, allocations: 51.88 kB / 3.823 GB, free: 137.8 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002571/7.7, allocations: 114.1 kB / 3.823 GB, free: 137.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/7.7, allocations: 63.25 kB / 3.823 GB, free: 137.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006406/7.706, allocations: 1.588 MB / 3.824 GB, free: 136 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/7.706, allocations: 12 kB / 3.824 GB, free: 136 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/7.706, allocations: 4 kB / 3.824 GB, free: 136 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/7.706, allocations: 0 / 3.824 GB, free: 136 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/7.714, allocations: 2.306 MB / 3.827 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/7.714, allocations: 4.188 kB / 3.827 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000624/7.715, allocations: 95.83 kB / 3.827 GB, free: 133.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004082/7.719, allocations: 0.6496 MB / 3.827 GB, free: 132.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/7.719, allocations: 4 kB / 3.827 GB, free: 132.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005543/7.725, allocations: 4.314 MB / 3.832 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/7.725, allocations: 128 / 3.832 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/7.729, allocations: 2.033 MB / 3.833 GB, free: 126.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/7.73, allocations: 220.1 kB / 3.834 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/7.73, allocations: 11.94 kB / 3.834 GB, free: 126 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/7.73, allocations: 27.97 kB / 3.834 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/7.731, allocations: 52.44 kB / 3.834 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/7.731, allocations: 19.98 kB / 3.834 GB, free: 125.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004016/7.731, allocations: 359.2 kB / 3.834 GB, free: 125.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/7.731, allocations: 4 kB / 3.834 GB, free: 125.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001519/7.733, allocations: 407.6 kB / 3.835 GB, free: 125.1 MB / 1.151 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002359/7.735, allocations: 1.903 MB / 3.836 GB, free: 123.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002641/7.738, allocations: 1.281 MB / 3.838 GB, free: 121.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/7.738, allocations: 0 / 3.838 GB, free: 121.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/7.739, allocations: 0.8142 MB / 3.838 GB, free: 121 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/7.741, allocations: 323.9 kB / 3.839 GB, free: 120.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/7.743, allocations: 1.284 MB / 3.84 GB, free: 119.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004512/7.744, allocations: 1.002 MB / 3.841 GB, free: 118.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007278/7.744, allocations: 141.3 kB / 3.841 GB, free: 118.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/7.745, allocations: 59.42 kB / 3.841 GB, free: 118.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.162e-06/7.745, allocations: 0 / 3.841 GB, free: 118.1 MB / 1.151 GB Notification: Performance of Templates: time 0.04044/7.785, allocations: 26.87 MB / 3.867 GB, free: 91.39 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches