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.376/2.376, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001315/0.001315, allocations: 183.3 kB / 498.1 MB, free: 5.742 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.699/1.699, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001184/0.001184, allocations: 98.3 kB / 0.9346 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005028, allocations: 14.41 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4257, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.215/5.641, allocations: 1.911 GB / 3.134 GB, free: 103.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/5.641, allocations: 88.56 kB / 3.134 GB, free: 103.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.986/8.627, allocations: 0.6814 GB / 3.816 GB, free: 295.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.733e-06/8.627, allocations: 0 / 3.816 GB, free: 295.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.419e-05/8.627, allocations: 21.88 kB / 3.816 GB, free: 295.1 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.003892/8.631, allocations: 1.241 MB / 3.817 GB, free: 294.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/8.631, allocations: 11.41 kB / 3.817 GB, free: 294.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/8.633, allocations: 231.3 kB / 3.817 GB, free: 294.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/8.634, allocations: 0.6024 MB / 3.818 GB, free: 294.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/8.634, allocations: 41.78 kB / 3.818 GB, free: 294.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/8.635, allocations: 61.08 kB / 3.818 GB, free: 294.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/8.636, allocations: 1.014 MB / 3.819 GB, free: 293.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/8.636, allocations: 8.5 kB / 3.819 GB, free: 293.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.005e-05/8.636, allocations: 25.62 kB / 3.819 GB, free: 293.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/8.636, allocations: 11.16 kB / 3.819 GB, free: 293.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/8.638, allocations: 0.9837 MB / 3.82 GB, free: 293.9 MB / 1.167 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.005473/8.643, allocations: 4.459 MB / 3.824 GB, free: 291.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000921/8.644, allocations: 0.6017 MB / 3.825 GB, free: 291.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009057/8.645, allocations: 0.8754 MB / 3.826 GB, free: 290.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/8.645, allocations: 46.98 kB / 3.826 GB, free: 290.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002376/8.648, allocations: 0.5594 MB / 3.826 GB, free: 290.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=50): time 8.677e-06/8.648, allocations: 0 / 3.826 GB, free: 290.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=50): time 0.01713/8.665, allocations: 3.676 MB / 3.83 GB, free: 290 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/8.665, allocations: 58.91 kB / 3.83 GB, free: 289.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/8.666, allocations: 0.6193 MB / 3.831 GB, free: 289.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001929/8.666, allocations: 35.92 kB / 3.831 GB, free: 289.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/8.667, allocations: 322.2 kB / 3.831 GB, free: 289.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/8.667, allocations: 176.6 kB / 3.831 GB, free: 289.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/8.667, allocations: 12.97 kB / 3.831 GB, free: 289.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/8.667, allocations: 329.8 kB / 3.831 GB, free: 289.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000612/8.668, allocations: 393.6 kB / 3.832 GB, free: 289.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/8.668, allocations: 489.4 kB / 3.832 GB, free: 289.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006919/8.669, allocations: 449.9 kB / 3.833 GB, free: 289.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/8.669, allocations: 3.953 kB / 3.833 GB, free: 289.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.011/8.68, allocations: 2.462 MB / 3.835 GB, free: 289 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/8.68, allocations: 7.766 kB / 3.835 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/8.68, allocations: 3.812 kB / 3.835 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008889/8.689, allocations: 1.544 MB / 3.837 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/8.69, allocations: 99.3 kB / 3.837 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/8.701, allocations: 6.691 MB / 3.843 GB, free: 285.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/8.702, allocations: 42.44 kB / 3.843 GB, free: 285.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/8.702, allocations: 46.47 kB / 3.843 GB, free: 285.2 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 () * 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 (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.0005196/8.703, allocations: 209.3 kB / 3.843 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/8.703, allocations: 82.83 kB / 3.844 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/8.708, allocations: 1.664 MB / 3.845 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/8.708, allocations: 11.61 kB / 3.845 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-05/8.708, allocations: 7.609 kB / 3.845 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/8.708, allocations: 0 / 3.845 GB, free: 284.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00587/8.714, allocations: 2.454 MB / 3.848 GB, free: 282.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/8.714, allocations: 0 / 3.848 GB, free: 282.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/8.714, allocations: 94.67 kB / 3.848 GB, free: 282.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003142/8.718, allocations: 0.6608 MB / 3.848 GB, free: 282.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.237e-05/8.718, allocations: 22.66 kB / 3.848 GB, free: 282.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005721/8.723, allocations: 4.518 MB / 3.853 GB, free: 278.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/8.723, allocations: 4.016 kB / 3.853 GB, free: 278.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004927/8.728, allocations: 2.15 MB / 3.855 GB, free: 277.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006579/8.729, allocations: 232.4 kB / 3.855 GB, free: 277 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/8.729, allocations: 15.53 kB / 3.855 GB, free: 277 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007666/8.73, allocations: 42.39 kB / 3.855 GB, free: 277 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/8.73, allocations: 47.91 kB / 3.855 GB, free: 276.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/8.73, allocations: 19.59 kB / 3.855 GB, free: 276.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006556/8.731, allocations: 0.496 MB / 3.856 GB, free: 276.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/8.731, allocations: 0 / 3.856 GB, free: 276.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001838/8.733, allocations: 448.6 kB / 3.856 GB, free: 276.5 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 () * 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 (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.002539/8.735, allocations: 1.719 MB / 3.858 GB, free: 275.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003095/8.739, allocations: 1.384 MB / 3.859 GB, free: 275 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/8.739, allocations: 0 / 3.859 GB, free: 275 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001596/8.74, allocations: 0.8818 MB / 3.86 GB, free: 274.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/8.742, allocations: 432.2 kB / 3.86 GB, free: 274.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/8.745, allocations: 1.979 MB / 3.862 GB, free: 273 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004736/8.746, allocations: 0.9954 MB / 3.863 GB, free: 272.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007903/8.747, allocations: 158.9 kB / 3.863 GB, free: 272.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/8.747, allocations: 72.31 kB / 3.864 GB, free: 272.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.273e-06/8.747, allocations: 2.156 kB / 3.864 GB, free: 272.1 MB / 1.167 GB Notification: Performance of Templates: time 0.0519/8.799, allocations: 40.68 MB / 3.903 GB, free: 232.7 MB / 1.167 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