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.001359/0.001359, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 180.2 kB / 16.92 MB, free: 6.918 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.538/1.538, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.071/3.071, allocations: 462.7 MB / 0.7371 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005425/0.0005427, allocations: 9 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4392, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001805/0.4411, allocations: 0.9866 MB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004153/0.4415, allocations: 119.6 kB / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.259e-05/0.4416, allocations: 0 / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.059e-05/0.4416, allocations: 0 / 1.06 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.485e-05/0.4417, allocations: 7.969 kB / 1.06 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.4419, allocations: 31.91 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.442, allocations: 11.94 kB / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.4421, allocations: 0 / 1.06 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.4421, allocations: 11.92 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.4422, allocations: 4 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.4422, allocations: 0 / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.4424, allocations: 59.88 kB / 1.061 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.4424, allocations: 3.984 kB / 1.061 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.4425, allocations: 37.64 kB / 1.061 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.4426, allocations: 19.91 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.4426, allocations: 8 kB / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4426, allocations: 0 / 1.061 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.4426, allocations: 0 / 1.061 GB, free: 3.594 MB / 0.8106 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.0004617/0.4431, allocations: 331.7 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.4431, allocations: 11.97 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.4432, allocations: 4.938 kB / 1.061 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.4434, allocations: 164.4 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.4434, allocations: 384 / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.4434, allocations: 4.359 kB / 1.061 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.882e-05/0.4435, allocations: 41.83 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.4435, allocations: 0 / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4435, allocations: 0 / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.4435, allocations: 0 / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.116e-05/0.4436, allocations: 7.938 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.4438, allocations: 161.6 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.883e-05/0.4439, allocations: 22.61 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.546e-05/0.4439, allocations: 12.92 kB / 1.061 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007673/0.4447, allocations: 0.6091 MB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.4447, allocations: 38.48 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.923e-06/0.4447, allocations: 0 / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.4449, allocations: 53.53 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.445, allocations: 55.53 kB / 1.062 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.4451, allocations: 97.86 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.4451, allocations: 25.7 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.4452, allocations: 80.14 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.4452, allocations: 3.906 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.4452, allocations: 17.7 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.4454, allocations: 314.8 kB / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.4454, allocations: 0 / 1.063 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.4454, allocations: 8 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.796e-05/0.4455, allocations: 12.86 kB / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4455, allocations: 0 / 1.063 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.16e-05/0.4456, allocations: 49.56 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4456, allocations: 4 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4456, allocations: 0 / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4456, allocations: 0 / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.4457, allocations: 4 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.4457, allocations: 0 / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.338e-05/0.4457, allocations: 8.031 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.4457, allocations: 0 / 1.063 GB, free: 1.129 MB / 0.8106 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.785e-05/0.4458, allocations: 113.8 kB / 1.063 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.278e-05/0.4459, allocations: 3.938 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.446, allocations: 48.75 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.446, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.446, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.446, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.4462, allocations: 157.6 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.4462, allocations: 4.031 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.664e-05/0.4462, allocations: 11.88 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4462, allocations: 0 / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.4462, allocations: 0 / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4462, allocations: 4 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4462, allocations: 3.984 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.4464, allocations: 61.12 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-05/0.4464, allocations: 88.98 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.4464, allocations: 4 kB / 1.063 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.572e-05/0.4465, allocations: 4 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.4465, allocations: 3.984 kB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.4465, allocations: 0 / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.171e-05/0.4466, allocations: 83.22 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4466, allocations: 0 / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002013/0.4468, allocations: 12 kB / 1.063 GB, free: 448 kB / 0.8106 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.0002023/0.447, allocations: 115.2 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.865e-05/0.4471, allocations: 12 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4471, allocations: 0 / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.297e-05/0.4471, allocations: 4 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.4474, allocations: 11.92 kB / 1.063 GB, free: 292 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003318/0.4477, allocations: 136.3 kB / 1.063 GB, free: 124 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.448, allocations: 0.6772 MB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.4481, allocations: 7.438 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of SimCode: time 4.3e-07/0.4481, allocations: 0 / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of Templates: time 0.002386/0.4505, allocations: 0.5975 MB / 1.065 GB, free: 14.81 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches