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.51/2.51, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.0009535/0.0009537, allocations: 176 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.3 MB / 0.7915 GB, free: 5.48 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.0009208/0.0009208, allocations: 95.89 kB / 0.9317 GB, free: 5.801 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.933e-05/2.948e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2914, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.514/5.806, allocations: 1.912 GB / 3.131 GB, free: 346.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/5.806, allocations: 81.7 kB / 3.131 GB, free: 346.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.022/7.828, allocations: 0.6808 GB / 3.812 GB, free: 114.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.262e-06/7.828, allocations: 0 / 3.812 GB, free: 114.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.783e-05/7.828, allocations: 20 kB / 3.812 GB, free: 114.3 MB / 1.167 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.002509/7.831, allocations: 1.056 MB / 3.813 GB, free: 113.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/7.831, allocations: 12.03 kB / 3.813 GB, free: 113.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/7.832, allocations: 235 kB / 3.813 GB, free: 112.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/7.833, allocations: 0.5933 MB / 3.814 GB, free: 112.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/7.833, allocations: 45.25 kB / 3.814 GB, free: 112.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/7.834, allocations: 55.86 kB / 3.814 GB, free: 112.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/7.835, allocations: 0.9935 MB / 3.815 GB, free: 111.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/7.835, allocations: 7.938 kB / 3.815 GB, free: 111.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/7.835, allocations: 20 kB / 3.815 GB, free: 111.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/7.835, allocations: 16 kB / 3.815 GB, free: 111.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/7.836, allocations: 0.9291 MB / 3.816 GB, free: 110.1 MB / 1.167 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.004244/7.84, allocations: 4.46 MB / 3.82 GB, free: 105.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006988/7.841, allocations: 0.5719 MB / 3.821 GB, free: 104.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/7.842, allocations: 0.5097 MB / 3.821 GB, free: 104.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007683/7.842, allocations: 0.8744 MB / 3.822 GB, free: 103.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/7.842, allocations: 43 kB / 3.822 GB, free: 103.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00223/7.845, allocations: 0.5615 MB / 3.823 GB, free: 102.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=50): time 7.093e-06/7.845, allocations: 0 / 3.823 GB, free: 102.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=50): time 0.01021/7.855, allocations: 2.385 MB / 3.825 GB, free: 100.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/7.855, allocations: 55.84 kB / 3.825 GB, free: 100.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008772/7.856, allocations: 0.6095 MB / 3.825 GB, free: 99.63 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/7.856, allocations: 37.7 kB / 3.826 GB, free: 99.59 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/7.856, allocations: 324.6 kB / 3.826 GB, free: 99.26 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/7.856, allocations: 173.4 kB / 3.826 GB, free: 99.09 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/7.856, allocations: 12 kB / 3.826 GB, free: 99.08 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.191e-05/7.856, allocations: 330 kB / 3.826 GB, free: 98.75 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/7.857, allocations: 365 kB / 3.827 GB, free: 98.39 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/7.857, allocations: 467.3 kB / 3.827 GB, free: 97.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/7.858, allocations: 429.3 kB / 3.828 GB, free: 97.48 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/7.858, allocations: 0 / 3.828 GB, free: 97.48 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01024/7.868, allocations: 2.423 MB / 3.83 GB, free: 95.04 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/7.868, allocations: 8 kB / 3.83 GB, free: 95.04 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/7.868, allocations: 0 / 3.83 GB, free: 95.04 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008495/7.877, allocations: 1.546 MB / 3.831 GB, free: 93.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004967/7.877, allocations: 95.8 kB / 3.832 GB, free: 93.39 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009876/7.887, allocations: 6.514 MB / 3.838 GB, free: 86.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/7.888, allocations: 39.92 kB / 3.838 GB, free: 86.56 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/7.888, allocations: 47.94 kB / 3.838 GB, free: 86.51 MB / 1.167 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.0001801/7.889, allocations: 140.6 kB / 3.838 GB, free: 86.37 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/7.889, allocations: 79.02 kB / 3.838 GB, free: 86.29 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/7.893, allocations: 1.616 MB / 3.84 GB, free: 84.66 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/7.893, allocations: 4 kB / 3.84 GB, free: 84.65 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/7.893, allocations: 8 kB / 3.84 GB, free: 84.64 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/7.893, allocations: 3.984 kB / 3.84 GB, free: 84.64 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005155/7.898, allocations: 2.411 MB / 3.842 GB, free: 82.15 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/7.899, allocations: 4 kB / 3.842 GB, free: 82.14 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004118/7.899, allocations: 96.06 kB / 3.842 GB, free: 82.05 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002851/7.902, allocations: 0.6652 MB / 3.843 GB, free: 81.38 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/7.902, allocations: 12 kB / 3.843 GB, free: 81.37 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00524/7.907, allocations: 4.413 MB / 3.847 GB, free: 76.69 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/7.907, allocations: 0 / 3.847 GB, free: 76.69 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/7.912, allocations: 2.075 MB / 3.849 GB, free: 74.53 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/7.912, allocations: 228 kB / 3.849 GB, free: 74.29 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/7.912, allocations: 15.95 kB / 3.849 GB, free: 74.27 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006322/7.913, allocations: 47.81 kB / 3.849 GB, free: 74.23 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/7.913, allocations: 52.44 kB / 3.85 GB, free: 74.18 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.381e-05/7.913, allocations: 16 kB / 3.85 GB, free: 74.16 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005713/7.914, allocations: 499.1 kB / 3.85 GB, free: 73.68 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/7.914, allocations: 0 / 3.85 GB, free: 73.68 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001739/7.916, allocations: 456 kB / 3.85 GB, free: 73.23 MB / 1.167 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.00239/7.918, allocations: 1.708 MB / 3.852 GB, free: 71.44 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002764/7.921, allocations: 1.32 MB / 3.853 GB, free: 70.09 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/7.921, allocations: 0 / 3.853 GB, free: 70.09 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/7.922, allocations: 0.8444 MB / 3.854 GB, free: 69.22 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/7.925, allocations: 448.8 kB / 3.855 GB, free: 68.79 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/7.927, allocations: 1.354 MB / 3.856 GB, free: 67.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/7.927, allocations: 0.9905 MB / 3.857 GB, free: 66.38 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006925/7.928, allocations: 154.6 kB / 3.857 GB, free: 66.22 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/7.928, allocations: 71.41 kB / 3.857 GB, free: 66.15 MB / 1.167 GB Notification: Performance of SimCode: time 8.32e-07/7.928, allocations: 0 / 3.857 GB, free: 66.15 MB / 1.167 GB Notification: Performance of Templates: time 0.05107/7.979, allocations: 45.11 MB / 3.901 GB, free: 21.18 MB / 1.167 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