Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.725/2.725, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.000456, allocations: 8 kB / 0.8708 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7847/0.7851, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.0015/0.7867, allocations: 0.9688 MB / 1.022 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002746/0.787, allocations: 111.7 kB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.553e-05/0.787, allocations: 0 / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.63e-05/0.7871, allocations: 4 kB / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.086e-05/0.7871, allocations: 3.984 kB / 1.022 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.7874, allocations: 23.97 kB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.431e-05/0.7874, allocations: 15.91 kB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.7875, allocations: 4 kB / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.7875, allocations: 0 / 1.022 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.7876, allocations: 11.92 kB / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.7876, allocations: 0 / 1.022 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.7877, allocations: 51.94 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.7878, allocations: 8 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.7878, allocations: 29.64 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.343e-05/0.7879, allocations: 15.97 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.7879, allocations: 4 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7879, allocations: 0 / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.7879, allocations: 0 / 1.022 GB, free: 15.85 MB / 0.7794 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.000409/0.7883, allocations: 333.3 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.7884, allocations: 11.98 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.7884, allocations: 4 kB / 1.022 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.7886, allocations: 167 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.7886, allocations: 3.984 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.7886, allocations: 3.953 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.7887, allocations: 33.64 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.7887, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.7888, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7888, allocations: 0 / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.657e-05/0.7888, allocations: 4 kB / 1.023 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002388/0.7891, allocations: 157.7 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/0.7891, allocations: 22.58 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008031/0.7899, allocations: 0.6169 MB / 1.023 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.79, allocations: 42.45 kB / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.79, allocations: 0 / 1.023 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.7902, allocations: 45.69 kB / 1.023 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.7902, allocations: 51.41 kB / 1.023 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.7903, allocations: 97.86 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.7903, allocations: 25.7 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.7904, allocations: 80.14 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.7904, allocations: 11.89 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.7904, allocations: 0 / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7906, allocations: 315 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.7906, allocations: 4 kB / 1.024 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.138e-05/0.7906, allocations: 8 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.755e-05/0.7906, allocations: 7.938 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.7906, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.817e-05/0.7907, allocations: 37.64 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7907, allocations: 4 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7908, allocations: 3.953 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.7908, allocations: 3.984 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.7909, allocations: 4.094 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.7909, allocations: 4 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.21e-05/0.7909, allocations: 4 kB / 1.024 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.7909, allocations: 4 kB / 1.024 GB, free: 13.43 MB / 0.7794 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 8.802e-05/0.791, allocations: 105.8 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.791, allocations: 3.906 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.7911, allocations: 48.75 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.7912, allocations: 7.953 kB / 1.024 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7912, allocations: 4.031 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7912, allocations: 0 / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.7913, allocations: 153.7 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.7913, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.399e-05/0.7913, allocations: 4 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.7913, allocations: 4 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.7914, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.7914, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.7914, allocations: 3.953 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.7915, allocations: 69.06 kB / 1.024 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.7915, allocations: 81.11 kB / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.7915, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.653e-05/0.7916, allocations: 0 / 1.025 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.7916, allocations: 3.953 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.7916, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.104e-05/0.7916, allocations: 87.2 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7917, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002211/0.7919, allocations: 20 kB / 1.025 GB, free: 12.74 MB / 0.7794 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.0001901/0.7921, allocations: 115.2 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.456e-05/0.7922, allocations: 8 kB / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7922, allocations: 0 / 1.025 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.7922, allocations: 7.938 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.7924, allocations: 4 kB / 1.025 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.7927, allocations: 121.1 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.793, allocations: 0.677 MB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.988e-05/0.7931, allocations: 4 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.61e-05/0.7931, allocations: 7.438 kB / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of SimCode: time 3.21e-07/0.7931, allocations: 0 / 1.026 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of Templates: time 0.002878/0.796, allocations: 0.5602 MB / 1.026 GB, free: 11.18 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches