Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 173.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008576/0.0008572, allocations: 90.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 8.781 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2513, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1736/0.4249, allocations: 131.4 MB / 1.028 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4252, allocations: 75.95 kB / 1.028 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0021/0.4273, allocations: 0.8362 MB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4273, allocations: 0 / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.4274, allocations: 3.938 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003318/0.4277, allocations: 327.3 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.4277, allocations: 15.97 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.4278, allocations: 0 / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.4279, allocations: 171 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.428, allocations: 0 / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.428, allocations: 4 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.669e-05/0.4281, allocations: 29.7 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.4281, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4281, allocations: 4 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.4281, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.053e-05/0.4282, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.4284, allocations: 161.6 kB / 1.03 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.309e-05/0.4284, allocations: 26.61 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006746/0.4291, allocations: 0.6013 MB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.4291, allocations: 34.56 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.4291, allocations: 0 / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001594/0.4293, allocations: 41.62 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.4294, allocations: 55.41 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.4294, allocations: 93.12 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.4295, allocations: 25.7 kB / 1.031 GB, free: 9.551 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.386e-05/0.4295, allocations: 80.14 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.4295, allocations: 15.83 kB / 1.031 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-06/0.4295, allocations: 4 kB / 1.031 GB, free: 9.449 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4297, allocations: 310.8 kB / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.051e-05/0.4297, allocations: 0 / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.485e-06/0.4297, allocations: 4 kB / 1.031 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.755e-05/0.4297, allocations: 8.062 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.4297, allocations: 0 / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.857e-05/0.4298, allocations: 45.64 kB / 1.031 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.4298, allocations: 4 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.4298, allocations: 0 / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4298, allocations: 0 / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.539e-05/0.4299, allocations: 7.938 kB / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4299, allocations: 0 / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.4299, allocations: 3.906 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.43, allocations: 4 kB / 1.031 GB, free: 9.055 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.43, allocations: 113.8 kB / 1.031 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.43, allocations: 3.953 kB / 1.031 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.4302, allocations: 44.81 kB / 1.031 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4302, allocations: 0 / 1.031 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4302, allocations: 4 kB / 1.031 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.4302, allocations: 3.938 kB / 1.031 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.4303, allocations: 149.7 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4303, allocations: 4 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.4304, allocations: 4.031 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4304, allocations: 3.953 kB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.4304, allocations: 11.94 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.4304, allocations: 0 / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4304, allocations: 0 / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.288e-05/0.4305, allocations: 61.12 kB / 1.032 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.4305, allocations: 77.11 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.4306, allocations: 8.141 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.705e-05/0.4306, allocations: 4.031 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.4306, allocations: 11.97 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-06/0.4306, allocations: 0 / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.4307, allocations: 79.28 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4307, allocations: 0 / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001945/0.4309, allocations: 16 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.431, allocations: 119.2 kB / 1.032 GB, free: 8.238 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.748e-05/0.4311, allocations: 19.94 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4311, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.4311, allocations: 4 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.4313, allocations: 4 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002508/0.4316, allocations: 114.6 kB / 1.032 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.4318, allocations: 0.677 MB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.4318, allocations: 8.125 kB / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.4319, allocations: 7.438 kB / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of SimCode: time 2e-07/0.4319, allocations: 0 / 1.033 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of Templates: time 0.002471/0.4343, allocations: 0.5634 MB / 1.033 GB, free: 6.793 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches