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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001565/0.001565, allocations: 108 kB / 15.61 MB, free: 152 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.002042/0.002042, allocations: 193 kB / 16.53 MB, free: 6.664 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.474/1.474, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 64.64 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.365, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002453/0.3675, allocations: 1.257 MB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003103/0.3678, allocations: 119.5 kB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.3678, allocations: 4 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.3679, allocations: 0 / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.142e-05/0.368, allocations: 7.922 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.3682, allocations: 43.89 kB / 1.07 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.54e-05/0.3683, allocations: 15.88 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.332e-05/0.3683, allocations: 7.984 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.59e-05/0.3684, allocations: 3.984 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.3684, allocations: 4 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.3684, allocations: 0 / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3686, allocations: 51.94 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.3686, allocations: 7.938 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.3686, allocations: 4 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.3688, allocations: 43.83 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3688, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.724e-06/0.3688, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3688, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 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.000411/0.3692, allocations: 331.8 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.3693, allocations: 8.031 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.3693, allocations: 4.844 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.3694, allocations: 168.4 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3694, allocations: 8.375 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.3695, allocations: 4.375 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.531e-05/0.3696, allocations: 33.83 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3696, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.3696, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3696, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.3696, allocations: 7.984 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.3698, allocations: 153.7 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.191e-05/0.3699, allocations: 26.56 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.3699, allocations: 12.92 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006954/0.3706, allocations: 0.5974 MB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.3706, allocations: 38.5 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.3706, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.3708, allocations: 49.61 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.3708, allocations: 55.53 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.11e-05/0.3709, allocations: 101.8 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.3709, allocations: 29.7 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.3709, allocations: 84.14 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.371, allocations: 3.906 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.371, allocations: 13.72 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.3711, allocations: 314.8 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.3711, allocations: 0 / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.041e-05/0.3711, allocations: 14.11 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.3712, allocations: 12.84 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3712, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.016e-05/0.3712, allocations: 45.58 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.3713, allocations: 8 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3713, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3713, allocations: 0 / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.246e-05/0.3713, allocations: 4 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3713, allocations: 96 / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.783e-05/0.3714, allocations: 4 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.357e-06/0.3714, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 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 7.124e-05/0.3715, allocations: 116.1 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.3715, allocations: 7.938 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.3716, allocations: 48.75 kB / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.3716, allocations: 0 / 1.072 GB, free: 6.164 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.3716, allocations: 4 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3716, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.503e-05/0.3717, allocations: 157.6 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3717, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.3717, allocations: 11.92 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3717, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.3718, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3718, allocations: 0 / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3718, allocations: 4 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.053e-05/0.3719, allocations: 57.14 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.3719, allocations: 89.06 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.3719, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.857e-05/0.3719, allocations: 8 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.372, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.372, allocations: 0 / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.665e-05/0.372, allocations: 83.22 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.372, allocations: 0 / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001916/0.3722, allocations: 15.98 kB / 1.072 GB, free: 5.656 MB / 0.8262 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.0001641/0.3724, allocations: 111.2 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.511e-05/0.3725, allocations: 15.98 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3725, allocations: 7.875 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.3725, allocations: 4 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.3728, allocations: 4 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.3731, allocations: 118 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002336/0.3733, allocations: 0.6729 MB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.3733, allocations: 7.984 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.3734, allocations: 7.438 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.3734, allocations: 0 / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of Templates: time 0.002766/0.3761, allocations: 0.5938 MB / 1.074 GB, free: 4.059 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/jenkins/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