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.00156/0.00156, allocations: 97.88 kB / 15.36 MB, free: 0.7305 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.0021/0.002101, allocations: 174.9 kB / 16.27 MB, free: 6.66 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.874/2.874, allocations: 462.6 MB / 0.7363 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003814, allocations: 9.969 kB / 0.9027 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3693, allocations: 159.6 MB / 1.059 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.0013/0.3706, allocations: 0.9905 MB / 1.06 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003179/0.371, allocations: 119.6 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.629e-05/0.371, allocations: 0 / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.371, allocations: 0 / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.967e-05/0.3711, allocations: 0 / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.3713, allocations: 35.88 kB / 1.06 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.914e-05/0.3713, allocations: 15.94 kB / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.3714, allocations: 0 / 1.06 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.3714, allocations: 7.938 kB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.453e-05/0.3715, allocations: 11.98 kB / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.3715, allocations: 0 / 1.06 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3716, allocations: 47.95 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.3716, allocations: 3.984 kB / 1.06 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.3717, allocations: 37.64 kB / 1.06 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.3718, allocations: 35.88 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3718, allocations: 0 / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3718, allocations: 8 kB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3718, allocations: 0 / 1.06 GB, free: 3.719 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.000349/0.3722, allocations: 335.7 kB / 1.06 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3722, allocations: 11.97 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.3723, allocations: 4.938 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.3724, allocations: 164.4 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3724, allocations: 384 / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.3724, allocations: 384 / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.819e-05/0.3725, allocations: 41.81 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.3725, allocations: 0 / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.3725, allocations: 0 / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3725, allocations: 0 / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.192e-05/0.3726, allocations: 4 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.3727, allocations: 157.6 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.297e-05/0.3728, allocations: 26.52 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.3728, allocations: 12.92 kB / 1.061 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/0.3735, allocations: 0.613 MB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.3735, allocations: 34.5 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3735, allocations: 0 / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001391/0.3737, allocations: 45.61 kB / 1.061 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.3737, allocations: 59.33 kB / 1.061 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.035e-05/0.3738, allocations: 106 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.3738, allocations: 25.7 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.3738, allocations: 80.14 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.3739, allocations: 3.906 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.3739, allocations: 13.72 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.396e-05/0.374, allocations: 318.8 kB / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.374, allocations: 0 / 1.062 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.548e-06/0.374, allocations: 4 kB / 1.062 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.3741, allocations: 16.92 kB / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3741, allocations: 0 / 1.062 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.626e-05/0.3741, allocations: 45.52 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3741, allocations: 8 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3741, allocations: 0 / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3742, allocations: 3.984 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.757e-05/0.3742, allocations: 4 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3742, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.646e-05/0.3743, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.3743, allocations: 0 / 1.062 GB, free: 1.258 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 6.929e-05/0.3743, allocations: 117.9 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.3743, allocations: 3.938 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.209e-05/0.3744, allocations: 44.81 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3745, allocations: 0 / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3745, allocations: 0 / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3745, allocations: 0 / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.258e-05/0.3746, allocations: 153.6 kB / 1.062 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3746, allocations: 3.938 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.3746, allocations: 11.97 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3746, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3746, allocations: 4 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.3746, allocations: 0 / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3746, allocations: 4 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.97e-05/0.3747, allocations: 61.12 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.3748, allocations: 84.95 kB / 1.062 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3748, allocations: 4 kB / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.615e-05/0.3748, allocations: 11.97 kB / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.321e-05/0.3748, allocations: 0 / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.3748, allocations: 0 / 1.062 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.662e-05/0.3749, allocations: 83.27 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3749, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000184/0.3751, allocations: 12 kB / 1.063 GB, free: 0.5703 MB / 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.0001682/0.3752, allocations: 115.2 kB / 1.063 GB, free: 456 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.22e-05/0.3753, allocations: 16 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3753, allocations: 0 / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.3753, allocations: 4 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.3756, allocations: 7.938 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000248/0.3758, allocations: 114.6 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.3761, allocations: 0.6731 MB / 1.063 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.47e-05/0.3761, allocations: 8.062 kB / 1.063 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.3761, allocations: 11.44 kB / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.3761, allocations: 0 / 1.063 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of Templates: time 0.002709/0.3788, allocations: 0.574 MB / 1.064 GB, free: 14.99 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