Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001682/0.001682, allocations: 107.1 kB / 15.99 MB, free: 5.891 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.001842/0.001843, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.619/1.619, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.162/3.162, allocations: 469.8 MB / 0.7427 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 71.89 kB / 0.9087 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4478, allocations: 159.2 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002718/0.4506, allocations: 1.31 MB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003318/0.4509, allocations: 129.4 kB / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.453e-05/0.4509, allocations: 0 / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.451, allocations: 0 / 1.066 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.265e-05/0.4511, allocations: 7.922 kB / 1.066 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.4513, allocations: 31.97 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.974e-05/0.4514, allocations: 23.86 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.4514, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.38e-05/0.4515, allocations: 7.984 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.4515, allocations: 8 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.4516, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.4517, allocations: 55.88 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.4517, allocations: 3.938 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.4517, allocations: 4 kB / 1.066 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.413e-05/0.4518, allocations: 23.97 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4518, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4518, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4519, allocations: 0 / 1.066 GB, free: 12.98 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.000463/0.4523, allocations: 335.8 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.4524, allocations: 16.02 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.4524, allocations: 0.9375 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.4526, allocations: 164.3 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.4526, allocations: 4.375 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.4526, allocations: 8.312 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.755e-05/0.4527, allocations: 33.77 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.4527, allocations: 8 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.4528, allocations: 0 / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4528, allocations: 4 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.4528, allocations: 11.92 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.453, allocations: 149.7 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.028e-05/0.4531, allocations: 34.58 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.4531, allocations: 4.859 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007889/0.4539, allocations: 0.6013 MB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4539, allocations: 42.48 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4539, allocations: 0 / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001536/0.4541, allocations: 45.64 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.4542, allocations: 51.41 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.784e-05/0.4542, allocations: 101.8 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.4543, allocations: 25.7 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.4543, allocations: 80.14 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.4544, allocations: 12.03 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.4544, allocations: 9.719 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4545, allocations: 314.8 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.184e-05/0.4546, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.4546, allocations: 7.984 kB / 1.068 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.4546, allocations: 12.86 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4546, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.517e-05/0.4547, allocations: 45.64 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4547, allocations: 4 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4547, allocations: 4 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.4547, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.4548, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.4548, allocations: 7.984 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.4548, allocations: 0 / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.4548, allocations: 0 / 1.068 GB, free: 10.52 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 9.183e-05/0.4549, allocations: 109.8 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.455, allocations: 7.938 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.4551, allocations: 52.78 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4551, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4551, allocations: 3.938 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4551, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.4552, allocations: 153.6 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4552, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.378e-05/0.4553, allocations: 7.938 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.4553, allocations: 0 / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.4553, allocations: 3.938 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4553, allocations: 4.031 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4553, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.082e-05/0.4554, allocations: 69.03 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.4555, allocations: 85.05 kB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.4555, allocations: 0 / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.116e-05/0.4555, allocations: 4 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.4555, allocations: 3.938 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.4555, allocations: 4 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.043e-05/0.4556, allocations: 79.31 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4556, allocations: 0 / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001896/0.4558, allocations: 15.98 kB / 1.068 GB, free: 9.828 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.0001902/0.456, allocations: 111.2 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.514e-05/0.4561, allocations: 15.98 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4561, allocations: 0 / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/0.4561, allocations: 4 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.4563, allocations: 11.64 kB / 1.068 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.4566, allocations: 139.8 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.457, allocations: 0.6768 MB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.457, allocations: 7.438 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.457, allocations: 0 / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of Templates: time 0.002239/0.4593, allocations: 0.6118 MB / 1.07 GB, free: 8.191 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches