Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.48/1.48, allocations: 249.5 MB / 257 MB, free: 6.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 184.8 kB / 316.3 MB, free: 3.246 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.635/1.635, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.001034/0.001035, allocations: 90.55 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.721e-05/2.713e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8033/1.041, allocations: 132 MB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/1.042, allocations: 80.39 kB / 1.014 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005133/1.047, allocations: 1.755 MB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/1.047, allocations: 4.5 kB / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.062e-06/1.047, allocations: 0 / 1.016 GB, free: 4.301 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003236/1.047, allocations: 349 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.047, allocations: 8.031 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/1.047, allocations: 4 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/1.048, allocations: 166.9 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/1.048, allocations: 11.94 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.306e-06/1.048, allocations: 0 / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.509e-05/1.048, allocations: 7.984 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/1.048, allocations: 40.56 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.048, allocations: 0 / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/1.048, allocations: 0 / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.048, allocations: 3.938 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/1.048, allocations: 137.4 kB / 1.017 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.668e-05/1.048, allocations: 41.17 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/1.048, allocations: 11.73 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/1.049, allocations: 1.163 MB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/1.049, allocations: 41.42 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/1.049, allocations: 4 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002041/1.049, allocations: 37.7 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/1.049, allocations: 54.34 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/1.05, allocations: 99.92 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/1.05, allocations: 25.7 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.084e-05/1.05, allocations: 80.14 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/1.05, allocations: 11.75 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-06/1.05, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.05, allocations: 318.3 kB / 1.018 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/1.05, allocations: 4 kB / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/1.05, allocations: 7.984 kB / 1.018 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.418e-05/1.05, allocations: 7.375 kB / 1.018 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/1.05, allocations: 0 / 1.018 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.875e-05/1.05, allocations: 45.64 kB / 1.018 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.05, allocations: 7.938 kB / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/1.05, allocations: 0 / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.05, allocations: 4 kB / 1.018 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.735e-05/1.05, allocations: 4 kB / 1.018 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/1.05, allocations: 0 / 1.018 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/1.05, allocations: 7.938 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/1.05, allocations: 0 / 1.019 GB, free: 1.207 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.622e-05/1.05, allocations: 105 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/1.05, allocations: 7.891 kB / 1.019 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/1.05, allocations: 64.3 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/1.051, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/1.051, allocations: 4 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/1.051, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/1.051, allocations: 137.1 kB / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/1.051, allocations: 0 / 1.019 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/1.051, allocations: 4 kB / 1.019 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.051, allocations: 3.938 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/1.051, allocations: 0 / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/1.051, allocations: 3.953 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.051, allocations: 0 / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/1.051, allocations: 83.25 kB / 1.019 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/1.051, allocations: 92.56 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/1.051, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.536e-05/1.051, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.421e-05/1.051, allocations: 7.938 kB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/1.051, allocations: 4 kB / 1.019 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.965e-05/1.051, allocations: 83 kB / 1.019 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.051, allocations: 0 / 1.019 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002095/1.051, allocations: 27.94 kB / 1.019 GB, free: 0.5195 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000216/1.052, allocations: 135.2 kB / 1.019 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.358e-05/1.052, allocations: 18.98 kB / 1.019 GB, free: 372 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.052, allocations: 0 / 1.019 GB, free: 372 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/1.052, allocations: 7.938 kB / 1.019 GB, free: 364 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/1.052, allocations: 6.062 kB / 1.019 GB, free: 360 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/1.052, allocations: 66.69 kB / 1.019 GB, free: 272 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/1.052, allocations: 0.6846 MB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.027e-05/1.052, allocations: 8.531 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/1.052, allocations: 7.438 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.052, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of Templates: time 0.003178/1.056, allocations: 0.7482 MB / 1.021 GB, free: 14.81 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches