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.001182/0.001182, allocations: 110.7 kB / 16.42 MB, free: 6.48 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.001217/0.001217, allocations: 185.7 kB / 17.34 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.277/1.277, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.457/2.457, allocations: 472.7 MB / 0.746 GB, free: 388 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 1.07 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.6648, allocations: 159.9 MB / 1.226 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002229/0.6671, allocations: 1.262 MB / 1.228 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002642/0.6674, allocations: 119.5 kB / 1.228 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.6674, allocations: 0 / 1.228 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.6674, allocations: 0 / 1.228 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.805e-05/0.6675, allocations: 11.94 kB / 1.228 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.6677, allocations: 39.83 kB / 1.228 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.533e-05/0.6678, allocations: 15.94 kB / 1.228 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.6678, allocations: 0 / 1.228 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.6678, allocations: 7.938 kB / 1.228 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.976e-05/0.6679, allocations: 7.984 kB / 1.228 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.6679, allocations: 0 / 1.228 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.6681, allocations: 51.94 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.074e-05/0.6681, allocations: 4 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.6681, allocations: 7.938 kB / 1.228 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.6682, allocations: 47.39 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6682, allocations: 0 / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6682, allocations: 0 / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.6683, allocations: 0 / 1.228 GB, free: 11.89 MB / 0.9512 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.0003503/0.6686, allocations: 330.1 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.6687, allocations: 8.031 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.6687, allocations: 4.938 kB / 1.228 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.6688, allocations: 168.3 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.6688, allocations: 8.359 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.6688, allocations: 384 / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.899e-05/0.6689, allocations: 33.64 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.6689, allocations: 0 / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.251e-06/0.669, allocations: 0 / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.669, allocations: 4 kB / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.669, allocations: 0 / 1.228 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.6691, allocations: 153.7 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.858e-05/0.6692, allocations: 34.55 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/0.6692, allocations: 4.859 kB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006276/0.6699, allocations: 0.6091 MB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.6699, allocations: 34.55 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6699, allocations: 0 / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001286/0.67, allocations: 41.83 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.6701, allocations: 67.27 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.386e-05/0.6701, allocations: 97.86 kB / 1.229 GB, free: 10 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.6701, allocations: 25.7 kB / 1.229 GB, free: 9.969 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.6702, allocations: 80.14 kB / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.6702, allocations: 3.953 kB / 1.23 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.6702, allocations: 13.72 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/0.6703, allocations: 318.8 kB / 1.23 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.6703, allocations: 8 kB / 1.23 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-06/0.6704, allocations: 0 / 1.23 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.6704, allocations: 20.86 kB / 1.23 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6704, allocations: 0 / 1.23 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.09e-05/0.6705, allocations: 45.56 kB / 1.23 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.6705, allocations: 9.031 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.6705, allocations: 0 / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.6705, allocations: 0 / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.398e-05/0.6705, allocations: 4 kB / 1.23 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.6706, allocations: 4.094 kB / 1.23 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.6706, allocations: 4 kB / 1.23 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.6706, allocations: 0 / 1.23 GB, free: 9.441 MB / 0.9512 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.574e-05/0.6707, allocations: 113.8 kB / 1.23 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.6707, allocations: 3.938 kB / 1.23 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.297e-05/0.6708, allocations: 52.8 kB / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.6708, allocations: 0 / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6708, allocations: 0 / 1.23 GB, free: 9.258 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.6708, allocations: 85.09 kB / 1.23 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.6708, allocations: 0 / 1.23 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.842e-05/0.6709, allocations: 0 / 1.23 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.6709, allocations: 11.92 kB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.902e-05/0.671, allocations: 112.9 kB / 1.23 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000107/0.6711, allocations: 210.8 kB / 1.23 GB, free: 8.805 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.753e-05/0.6711, allocations: 12 kB / 1.23 GB, free: 8.793 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.812e-05/0.6711, allocations: 75.28 kB / 1.231 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of Backend: time 4.61e-07/0.6712, allocations: 0 / 1.231 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003793/0.6715, allocations: 102.3 kB / 1.231 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000421/0.672, allocations: 0.5636 MB / 1.231 GB, free: 8 MB / 0.9512 GB Notification: Performance of Templates: time 0.3576/1.03, allocations: 0.6452 MB / 1.232 GB, free: 7.359 MB / 0.9512 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