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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00118/0.00118, allocations: 104.8 kB / 15.98 MB, free: 6.352 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.001272/0.001272, allocations: 193 kB / 16.91 MB, free: 6.184 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 469.4 MB / 0.7423 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 66.36 kB / 0.9083 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3709, allocations: 159.1 MB / 1.064 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003066/0.374, allocations: 1.322 MB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003985/0.3744, allocations: 119.6 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.848e-05/0.3744, allocations: 0 / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.054e-05/0.3745, allocations: 3.938 kB / 1.065 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.3746, allocations: 7.984 kB / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.3748, allocations: 31.91 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.618e-05/0.3749, allocations: 19.86 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.375, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.375, allocations: 8 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.3751, allocations: 7.984 kB / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.3751, allocations: 0 / 1.065 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.3752, allocations: 51.94 kB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.3752, allocations: 7.938 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.3753, allocations: 4 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.59e-05/0.3754, allocations: 23.95 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3754, allocations: 4 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3754, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.3754, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8419 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.0004083/0.3758, allocations: 335.8 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.3759, allocations: 12.62 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.3759, allocations: 0.9375 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.3761, allocations: 172.2 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.3761, allocations: 8.359 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-06/0.3761, allocations: 384 / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.976e-05/0.3762, allocations: 45.81 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.3762, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.3762, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3762, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.53e-05/0.3763, allocations: 4 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001755/0.3764, allocations: 153.7 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.427e-05/0.3765, allocations: 22.52 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.3765, allocations: 12.92 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007731/0.3773, allocations: 0.6051 MB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.3774, allocations: 38.5 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3774, allocations: 0 / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000158/0.3775, allocations: 37.7 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.3776, allocations: 51.41 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.3777, allocations: 106 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3777, allocations: 29.64 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.3777, allocations: 88.14 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.3778, allocations: 7.844 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.3778, allocations: 9.719 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3779, allocations: 314.8 kB / 1.067 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/0.378, allocations: 7.984 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.378, allocations: 4 kB / 1.067 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.378, allocations: 12.92 kB / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.378, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001504/0.3782, allocations: 41.64 kB / 1.067 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3782, allocations: 8 kB / 1.067 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3782, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3782, allocations: 0 / 1.067 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.3783, allocations: 11.92 kB / 1.067 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3783, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.3783, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.3783, allocations: 4.031 kB / 1.067 GB, free: 11.31 MB / 0.8419 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.578e-05/0.3784, allocations: 105.8 kB / 1.067 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.3784, allocations: 11.88 kB / 1.067 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.3785, allocations: 44.81 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3785, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3786, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3786, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.3787, allocations: 157.6 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3787, allocations: 4.031 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.3787, allocations: 7.938 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3787, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.3787, allocations: 4 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3787, allocations: 3.938 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3788, allocations: 0 / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.146e-05/0.3788, allocations: 69.03 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.3789, allocations: 81.05 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.3789, allocations: 4.031 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.62e-05/0.3789, allocations: 0 / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.426e-05/0.379, allocations: 4 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.379, allocations: 0 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.898e-05/0.379, allocations: 91.44 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.379, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002094/0.3792, allocations: 12 kB / 1.068 GB, free: 10.62 MB / 0.8419 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.0001838/0.3794, allocations: 107.2 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.989e-05/0.3795, allocations: 19.92 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3795, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.24e-05/0.3796, allocations: 7.938 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.3798, allocations: 7.938 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.3802, allocations: 135.8 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3804, allocations: 0.6769 MB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.3805, allocations: 11.44 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.3805, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of Templates: time 0.002227/0.3827, allocations: 0.6001 MB / 1.069 GB, free: 8.988 MB / 0.8419 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