Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0008836/0.0008836, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.000946/0.0009459, allocations: 172.7 kB / 15.95 MB, free: 208 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.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 12 kB / 0.8722 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5759/0.5762, allocations: 153.8 MB / 1.022 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001296/0.5776, allocations: 0.9806 MB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002674/0.5779, allocations: 115.6 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.5779, allocations: 3.938 kB / 1.023 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.66e-05/0.5779, allocations: 3.938 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.578, allocations: 0 / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.5782, allocations: 23.91 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.081e-05/0.5782, allocations: 23.91 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.5783, allocations: 3.938 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.203e-05/0.5783, allocations: 4 kB / 1.024 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.737e-05/0.5784, allocations: 11.94 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.5784, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.5785, allocations: 51.94 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.074e-06/0.5785, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.5786, allocations: 25.7 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.803e-05/0.5787, allocations: 23.97 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.5787, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5787, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.5787, allocations: 0 / 1.024 GB, free: 14.8 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.0003603/0.5791, allocations: 333.3 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.5791, allocations: 8.031 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.5791, allocations: 4 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.5793, allocations: 171 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.5793, allocations: 0 / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.5793, allocations: 3.938 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.38e-05/0.5794, allocations: 33.66 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.5794, allocations: 0 / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.5794, allocations: 0 / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5794, allocations: 4 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.124e-05/0.5795, allocations: 11.98 kB / 1.024 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001605/0.5796, allocations: 145.7 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.345e-05/0.5797, allocations: 26.61 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.5797, allocations: 12.78 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007261/0.5805, allocations: 0.613 MB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5805, allocations: 42.52 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.685e-06/0.5805, allocations: 0 / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001407/0.5807, allocations: 41.62 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.5807, allocations: 51.41 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.931e-05/0.5808, allocations: 97.86 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.5808, allocations: 25.7 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.5808, allocations: 88.12 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.5809, allocations: 8.031 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.5809, allocations: 4 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.581, allocations: 310.8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.581, allocations: 7.938 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-06/0.581, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.674e-05/0.581, allocations: 4 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.581, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.031e-05/0.5811, allocations: 41.69 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5811, allocations: 9.344 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5812, allocations: 7.891 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5812, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.693e-05/0.5812, allocations: 4 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5812, allocations: 3.984 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.5813, allocations: 7.906 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.5813, allocations: 0 / 1.026 GB, free: 12.37 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 7.505e-05/0.5814, allocations: 109.8 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.588e-06/0.5814, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.613e-05/0.5815, allocations: 56.75 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.5815, allocations: 3.953 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5815, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5815, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.5816, allocations: 153.7 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.5816, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.588e-05/0.5817, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.5817, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.5817, allocations: 4 kB / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5817, allocations: 0 / 1.026 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5817, allocations: 11.97 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.309e-05/0.5818, allocations: 61.08 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.5818, allocations: 81.11 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.5818, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.847e-05/0.5819, allocations: 7.922 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.5819, allocations: 7.953 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.5819, allocations: 0 / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.5819, allocations: 83.31 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5819, allocations: 0 / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002036/0.5821, allocations: 16 kB / 1.026 GB, free: 11.68 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.0001567/0.5823, allocations: 115.2 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.234e-05/0.5824, allocations: 8 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5824, allocations: 0 / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.5824, allocations: 7.938 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.5827, allocations: 12.11 kB / 1.026 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.583, allocations: 110.6 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.5833, allocations: 0.677 MB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.89e-05/0.5833, allocations: 4 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.5833, allocations: 7.438 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of SimCode: time 5.91e-07/0.5833, allocations: 4 kB / 1.027 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of Templates: time 0.002787/0.5861, allocations: 0.5694 MB / 1.028 GB, free: 10.11 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches