Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.436/2.436, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001463/0.001463, allocations: 184.8 kB / 487.4 MB, free: 5.02 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.52/1.52, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008524/0.0008526, allocations: 103.8 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.597e-05/1.599e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2843, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.89/5.174, allocations: 1.911 GB / 3.117 GB, free: 357 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/5.175, allocations: 89.53 kB / 3.117 GB, free: 357 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.154/7.328, allocations: 0.6733 GB / 3.79 GB, free: 162.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.713e-06/7.328, allocations: 0 / 3.79 GB, free: 162.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.817e-05/7.328, allocations: 12 kB / 3.79 GB, free: 162.3 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.003234/7.332, allocations: 1.06 MB / 3.791 GB, free: 161.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/7.332, allocations: 15.97 kB / 3.791 GB, free: 161.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001802/7.334, allocations: 238.7 kB / 3.791 GB, free: 160.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/7.335, allocations: 0.5972 MB / 3.792 GB, free: 160.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/7.335, allocations: 16 kB / 3.792 GB, free: 160.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/7.335, allocations: 39.91 kB / 3.792 GB, free: 160.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001282/7.336, allocations: 0.8695 MB / 3.793 GB, free: 159.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/7.338, allocations: 0.9173 MB / 3.794 GB, free: 158.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/7.338, allocations: 3.938 kB / 3.794 GB, free: 158.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-05/7.338, allocations: 11.94 kB / 3.794 GB, free: 158.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/7.338, allocations: 12 kB / 3.794 GB, free: 158.3 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.005042/7.343, allocations: 4.316 MB / 3.798 GB, free: 153.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/7.344, allocations: 0.5553 MB / 3.799 GB, free: 153.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/7.344, allocations: 0.4904 MB / 3.799 GB, free: 152.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008293/7.345, allocations: 0.8783 MB / 3.8 GB, free: 151.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/7.345, allocations: 39 kB / 3.8 GB, free: 151.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002192/7.347, allocations: 0.5461 MB / 3.8 GB, free: 151.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=50): time 5.841e-06/7.347, allocations: 3.938 kB / 3.8 GB, free: 151.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=50): time 0.01056/7.358, allocations: 2.357 MB / 3.803 GB, free: 148.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/7.358, allocations: 63.83 kB / 3.803 GB, free: 148.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/7.359, allocations: 463.4 kB / 3.803 GB, free: 148.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/7.359, allocations: 25.7 kB / 3.803 GB, free: 148.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/7.359, allocations: 324.6 kB / 3.804 GB, free: 147.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/7.359, allocations: 169.5 kB / 3.804 GB, free: 147.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/7.359, allocations: 0 / 3.804 GB, free: 147.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001078/7.359, allocations: 370.8 kB / 3.804 GB, free: 147.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/7.36, allocations: 365 kB / 3.804 GB, free: 147 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/7.36, allocations: 458.2 kB / 3.805 GB, free: 146.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/7.361, allocations: 440.5 kB / 3.805 GB, free: 146.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/7.361, allocations: 0 / 3.805 GB, free: 146.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01031/7.371, allocations: 2.388 MB / 3.808 GB, free: 143.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/7.371, allocations: 8.125 kB / 3.808 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/7.371, allocations: 4 kB / 3.808 GB, free: 143.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008562/7.38, allocations: 1.531 MB / 3.809 GB, free: 142.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/7.381, allocations: 99.8 kB / 3.809 GB, free: 142 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/7.391, allocations: 6.252 MB / 3.815 GB, free: 135.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/7.392, allocations: 27.94 kB / 3.815 GB, free: 135.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/7.392, allocations: 47.92 kB / 3.815 GB, free: 135.4 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.0002851/7.392, allocations: 116.8 kB / 3.816 GB, free: 135.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003067/7.393, allocations: 67.25 kB / 3.816 GB, free: 135.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004848/7.397, allocations: 1.592 MB / 3.817 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/7.397, allocations: 8 kB / 3.817 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/7.397, allocations: 4 kB / 3.817 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/7.397, allocations: 3.984 kB / 3.817 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005624/7.403, allocations: 2.306 MB / 3.819 GB, free: 131.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/7.403, allocations: 4 kB / 3.819 GB, free: 131.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/7.404, allocations: 87.89 kB / 3.82 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003009/7.407, allocations: 0.6495 MB / 3.82 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/7.407, allocations: 19.92 kB / 3.82 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005409/7.412, allocations: 4.305 MB / 3.824 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/7.412, allocations: 0 / 3.824 GB, free: 125.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004748/7.417, allocations: 2.04 MB / 3.826 GB, free: 123.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005789/7.418, allocations: 216.2 kB / 3.827 GB, free: 123.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002389/7.418, allocations: 15.94 kB / 3.827 GB, free: 123.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000848/7.419, allocations: 23.92 kB / 3.827 GB, free: 123.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/7.419, allocations: 56.48 kB / 3.827 GB, free: 123.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/7.419, allocations: 20 kB / 3.827 GB, free: 123.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005964/7.419, allocations: 359.1 kB / 3.827 GB, free: 123.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/7.419, allocations: 0 / 3.827 GB, free: 123.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001914/7.421, allocations: 407.6 kB / 3.827 GB, free: 122.7 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.003221/7.425, allocations: 1.915 MB / 3.829 GB, free: 120.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003039/7.428, allocations: 1.265 MB / 3.831 GB, free: 119.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/7.428, allocations: 0 / 3.831 GB, free: 119.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001567/7.429, allocations: 0.8143 MB / 3.831 GB, free: 118.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/7.431, allocations: 318.8 kB / 3.832 GB, free: 118.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/7.434, allocations: 1.296 MB / 3.833 GB, free: 117 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/7.435, allocations: 0.9977 MB / 3.834 GB, free: 115.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007215/7.435, allocations: 137.3 kB / 3.834 GB, free: 115.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/7.436, allocations: 63.41 kB / 3.834 GB, free: 115.7 MB / 1.151 GB Notification: Performance of SimCode: time 6.81e-07/7.436, allocations: 0 / 3.834 GB, free: 115.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04396/7.48, allocations: 26.86 MB / 3.86 GB, free: 89.01 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches