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.002026/0.002026, allocations: 105 kB / 15.98 MB, free: 6.77 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.002314/0.002314, allocations: 194.2 kB / 16.91 MB, free: 6.551 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.577/1.577, allocations: 222.9 MB / 240.6 MB, free: 4.5 MB / 190.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.882/2.882, allocations: 437.1 MB / 0.7108 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 63.91 kB / 0.8694 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8311/0.8335, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002834/0.8364, allocations: 1.325 MB / 1.019 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003354/0.8368, allocations: 119.6 kB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.8368, allocations: 0 / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.8368, allocations: 0 / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.808e-05/0.8369, allocations: 7.922 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.8372, allocations: 31.97 kB / 1.019 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.256e-05/0.8372, allocations: 19.92 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.8373, allocations: 3.938 kB / 1.019 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.254e-05/0.8373, allocations: 7.938 kB / 1.019 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.344e-05/0.8374, allocations: 7.984 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.8374, allocations: 0 / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.8376, allocations: 51.94 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.8376, allocations: 0 / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.8376, allocations: 11.92 kB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.715e-05/0.8377, allocations: 31.97 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.8377, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8377, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.8377, allocations: 0 / 1.019 GB, free: 1.051 MB / 0.7637 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.0004992/0.8382, allocations: 333.5 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.8383, allocations: 12.03 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.8383, allocations: 0.9375 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.8385, allocations: 164.3 kB / 1.02 GB, free: 480 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.8385, allocations: 4.375 kB / 1.02 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.8386, allocations: 8.375 kB / 1.02 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.967e-05/0.8387, allocations: 33.81 kB / 1.02 GB, free: 428 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.8387, allocations: 4 kB / 1.02 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.8387, allocations: 0 / 1.02 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.8387, allocations: 3.938 kB / 1.02 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.577e-05/0.8388, allocations: 4 kB / 1.02 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.8391, allocations: 153.6 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.178e-05/0.8391, allocations: 34.55 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.574e-05/0.8392, allocations: 4.859 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008573/0.84, allocations: 0.6052 MB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.8401, allocations: 38.5 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.8401, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001713/0.8402, allocations: 45.55 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.8403, allocations: 51.53 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.935e-05/0.8404, allocations: 105.8 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.8404, allocations: 25.7 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.8405, allocations: 80.14 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.8405, allocations: 7.984 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.8406, allocations: 13.72 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.8407, allocations: 310.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.403e-05/0.8407, allocations: 7.984 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.8408, allocations: 8 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.557e-05/0.8408, allocations: 16.8 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.8408, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.833e-05/0.8409, allocations: 41.55 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.8409, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.8409, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.8409, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.841, allocations: 3.984 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.841, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.841, allocations: 4.094 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.841, allocations: 0 / 1.021 GB, free: 14.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.8412, allocations: 109.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.8412, allocations: 7.938 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.8413, allocations: 52.73 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.8413, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8413, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.8413, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.8415, allocations: 153.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.8415, allocations: 4.031 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.8415, allocations: 8.125 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.8415, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.8415, allocations: 3.938 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-06/0.8415, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8416, allocations: 3.984 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.8417, allocations: 69.06 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.8418, allocations: 85.08 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.8418, allocations: 4 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.623e-05/0.8419, allocations: 3.938 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.8419, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.8419, allocations: 4 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.826e-05/0.8419, allocations: 79.27 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8419, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000199/0.8421, allocations: 12 kB / 1.022 GB, free: 13.9 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 (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.0002153/0.8424, allocations: 131.2 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.8425, allocations: 8 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8425, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.321e-05/0.8425, allocations: 7.938 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.8427, allocations: 9.203 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.8431, allocations: 131.7 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.8435, allocations: 0.6808 MB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.8435, allocations: 7.438 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8435, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of Templates: time 0.002378/0.8459, allocations: 0.5957 MB / 1.023 GB, free: 12.27 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=400 -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/jenkins1/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