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.001626/0.001626, allocations: 106.2 kB / 16.27 MB, free: 6.414 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.001811/0.001812, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.475/1.475, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.632/2.632, allocations: 437.1 MB / 0.7111 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001999, allocations: 67.8 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3968, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002859/0.3997, allocations: 1.248 MB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003525/0.4001, allocations: 123.5 kB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.604e-05/0.4001, allocations: 0 / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.035e-05/0.4002, allocations: 0 / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.98e-05/0.4003, allocations: 11.92 kB / 1.019 GB, free: 9.242 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.4005, allocations: 31.89 kB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.467e-05/0.4006, allocations: 19.92 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.838e-05/0.4007, allocations: 4 kB / 1.019 GB, free: 9.188 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.4007, allocations: 7.938 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.009e-05/0.4008, allocations: 7.984 kB / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.4008, allocations: 0 / 1.019 GB, free: 9.172 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.4009, allocations: 47.95 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.401, allocations: 0 / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.846e-05/0.401, allocations: 15.91 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.4011, allocations: 43.89 kB / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4012, allocations: 0 / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4012, allocations: 0 / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.4012, allocations: 0 / 1.02 GB, free: 9.066 MB / 0.795 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.0004776/0.4017, allocations: 335.7 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4017, allocations: 12.92 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.4018, allocations: 0.9375 kB / 1.02 GB, free: 8.68 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.4019, allocations: 164.3 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.402, allocations: 8.375 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-06/0.402, allocations: 384 / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.665e-05/0.4021, allocations: 41.75 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4021, allocations: 0 / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.4021, allocations: 0 / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4021, allocations: 4 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.284e-05/0.4022, allocations: 4 kB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001906/0.4024, allocations: 157.6 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.682e-05/0.4024, allocations: 26.52 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.329e-05/0.4025, allocations: 8.922 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008469/0.4033, allocations: 0.6012 MB / 1.021 GB, free: 7.438 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.4034, allocations: 46.5 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4034, allocations: 0 / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001818/0.4036, allocations: 37.7 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.4036, allocations: 55.34 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.4037, allocations: 101.8 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.4037, allocations: 25.7 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.601e-05/0.4038, allocations: 84.14 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.4038, allocations: 8.031 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.4039, allocations: 9.719 kB / 1.021 GB, free: 7.023 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.404, allocations: 322.8 kB / 1.021 GB, free: 6.699 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.404, allocations: 0 / 1.021 GB, free: 6.699 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.4041, allocations: 4 kB / 1.021 GB, free: 6.695 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.701e-05/0.4041, allocations: 12.86 kB / 1.021 GB, free: 6.68 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4041, allocations: 0 / 1.021 GB, free: 6.68 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.139e-05/0.4042, allocations: 41.7 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4042, allocations: 11.94 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4042, allocations: 3.938 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4043, allocations: 3.984 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.529e-05/0.4043, allocations: 4 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.4043, allocations: 0 / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.717e-05/0.4044, allocations: 0 / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.4044, allocations: 0 / 1.022 GB, free: 6.609 MB / 0.795 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 9.2e-05/0.4045, allocations: 109.8 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.4045, allocations: 11.97 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.4046, allocations: 44.81 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.4046, allocations: 0 / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4046, allocations: 0 / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4046, allocations: 0 / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.4048, allocations: 157.6 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4048, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.4048, allocations: 11.88 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.4048, allocations: 0 / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.4048, allocations: 0 / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.4048, allocations: 7.969 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.4048, allocations: 0 / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.701e-05/0.4049, allocations: 65.12 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.405, allocations: 89.14 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.405, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.801e-05/0.405, allocations: 3.984 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.4051, allocations: 4 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.4051, allocations: 0 / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.948e-05/0.4051, allocations: 87.3 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.4051, allocations: 0 / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001942/0.4053, allocations: 12 kB / 1.022 GB, free: 5.914 MB / 0.795 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.0002024/0.4055, allocations: 111.2 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.223e-05/0.4056, allocations: 15.94 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4056, allocations: 0 / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.4057, allocations: 4 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.4059, allocations: 16.06 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.4062, allocations: 135.8 kB / 1.022 GB, free: 5.598 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.4066, allocations: 0.6729 MB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.4066, allocations: 11.44 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.4066, allocations: 3.938 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of Templates: time 0.002409/0.409, allocations: 0.6154 MB / 1.024 GB, free: 4.273 MB / 0.795 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