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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.005083/0.005083, allocations: 101.4 kB / 15.73 MB, free: 6.051 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.001138/0.001138, allocations: 188.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.429/2.429, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.12 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8295/0.8308, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002092/0.8329, allocations: 1.249 MB / 1.168 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002591/0.8332, allocations: 119.5 kB / 1.168 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.501e-05/0.8332, allocations: 0 / 1.168 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.8333, allocations: 3.938 kB / 1.168 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.403e-05/0.8333, allocations: 0 / 1.168 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.8335, allocations: 47.81 kB / 1.168 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.016e-05/0.8336, allocations: 15.94 kB / 1.168 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.8336, allocations: 7.984 kB / 1.168 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.8337, allocations: 7.938 kB / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.53e-05/0.8337, allocations: 4 kB / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.8337, allocations: 0 / 1.168 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.8339, allocations: 51.94 kB / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.8339, allocations: 0 / 1.168 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.8339, allocations: 11.92 kB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.834, allocations: 36.94 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.834, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.142e-06/0.834, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.8341, allocations: 0 / 1.168 GB, free: 2.273 MB / 0.8887 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.0003781/0.8344, allocations: 334.9 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.8345, allocations: 8.922 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.8345, allocations: 8.859 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.8346, allocations: 176.3 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.8347, allocations: 384 / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.402e-06/0.8347, allocations: 4.375 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.162e-05/0.8348, allocations: 37.58 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.8348, allocations: 0 / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.8348, allocations: 0 / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.8348, allocations: 0 / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.131e-05/0.8348, allocations: 7.984 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.835, allocations: 153.6 kB / 1.169 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.878e-05/0.835, allocations: 30.59 kB / 1.169 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.8351, allocations: 8.922 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006632/0.8357, allocations: 0.6051 MB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.8358, allocations: 34.5 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8358, allocations: 0 / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001219/0.8359, allocations: 45.69 kB / 1.17 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.8359, allocations: 55.53 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.836, allocations: 97.86 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.836, allocations: 25.7 kB / 1.17 GB, free: 348 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.836, allocations: 84.12 kB / 1.17 GB, free: 260 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.8361, allocations: 3.953 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.8361, allocations: 13.72 kB / 1.17 GB, free: 236 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.8362, allocations: 314.8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.311e-05/0.8362, allocations: 4 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.015e-05/0.8362, allocations: 7.938 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.8363, allocations: 16.86 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.8363, allocations: 4 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.667e-05/0.8363, allocations: 41.62 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.8364, allocations: 4 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.8364, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.8364, allocations: 0 / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.534e-05/0.8364, allocations: 4 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.8364, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.8365, allocations: 4.094 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.8365, allocations: 4 kB / 1.17 GB, free: 15.82 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.602e-05/0.8365, allocations: 121.7 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.8366, allocations: 7.875 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.507e-05/0.8367, allocations: 40.83 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8367, allocations: 8 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.8367, allocations: 3.984 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.8367, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.747e-05/0.8368, allocations: 153.7 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.8368, allocations: 7.875 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.8368, allocations: 3.984 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.8368, allocations: 4 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.8368, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8368, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.8368, allocations: 0 / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.89e-05/0.8369, allocations: 71.52 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.837, allocations: 93.06 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.837, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.601e-05/0.837, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.011e-05/0.837, allocations: 192 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.837, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.153e-05/0.8371, allocations: 83.27 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8371, allocations: 0 / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001919/0.8373, allocations: 15.94 kB / 1.171 GB, free: 15.11 MB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001449/0.8374, allocations: 111.2 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.8375, allocations: 12 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8375, allocations: 3.938 kB / 1.171 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.8375, allocations: 7.984 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.8377, allocations: 14.33 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000217/0.8379, allocations: 106 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.8382, allocations: 0.6691 MB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.8382, allocations: 8 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.8382, allocations: 11.42 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8382, allocations: 0 / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.002582/0.8408, allocations: 0.5905 MB / 1.172 GB, free: 13.52 MB / 0.9044 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