Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001612/0.001612, allocations: 119.3 kB / 16.42 MB, free: 6.496 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.00185/0.001851, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.485/1.485, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 71.89 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6899/0.6913, allocations: 151.6 MB / 1.167 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002409/0.6937, allocations: 1.245 MB / 1.169 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002935/0.694, allocations: 123.5 kB / 1.169 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.6941, allocations: 0 / 1.169 GB, free: 2.695 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.6941, allocations: 3.938 kB / 1.169 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.6942, allocations: 7.984 kB / 1.169 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.6944, allocations: 39.83 kB / 1.169 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.429e-05/0.6945, allocations: 15.92 kB / 1.169 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.6945, allocations: 0 / 1.169 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.233e-05/0.6946, allocations: 11.94 kB / 1.169 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.6946, allocations: 11.98 kB / 1.169 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.6946, allocations: 0 / 1.169 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.6948, allocations: 43.95 kB / 1.169 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.6948, allocations: 15.91 kB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.391e-05/0.6948, allocations: 7.938 kB / 1.169 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.695, allocations: 31.95 kB / 1.169 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.695, allocations: 0 / 1.169 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.843e-06/0.695, allocations: 0 / 1.169 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.695, allocations: 0 / 1.169 GB, free: 2.508 MB / 0.8887 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.0003545/0.6953, allocations: 333.4 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.6954, allocations: 8.922 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.6954, allocations: 8.844 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.6956, allocations: 164.3 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.6956, allocations: 384 / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.6956, allocations: 4.312 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.298e-05/0.6957, allocations: 37.62 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6957, allocations: 3.938 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.6957, allocations: 8 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.6957, allocations: 4 kB / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.805e-05/0.6957, allocations: 0 / 1.169 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.6959, allocations: 153.7 kB / 1.17 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.714e-05/0.6959, allocations: 22.61 kB / 1.17 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.99e-05/0.696, allocations: 4.859 kB / 1.17 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006712/0.6967, allocations: 0.6169 MB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.6967, allocations: 30.56 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.6967, allocations: 0 / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.6969, allocations: 45.62 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.6969, allocations: 55.41 kB / 1.17 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/0.697, allocations: 101.8 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.697, allocations: 25.7 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.697, allocations: 84.27 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.6971, allocations: 7.906 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.6971, allocations: 13.72 kB / 1.17 GB, free: 476 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.6972, allocations: 314.8 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.394e-05/0.6972, allocations: 4 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-06/0.6972, allocations: 0 / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.433e-05/0.6973, allocations: 24.8 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.6973, allocations: 4 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.768e-05/0.6974, allocations: 45.7 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.6974, allocations: 4 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6974, allocations: 0 / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6974, allocations: 3.984 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.158e-05/0.6975, allocations: 4 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.6975, allocations: 0 / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.142e-05/0.6975, allocations: 4 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.6975, allocations: 3.938 kB / 1.171 GB, free: 44 kB / 0.8887 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 8.016e-05/0.6976, allocations: 109.9 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.6976, allocations: 3.938 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.835e-05/0.6977, allocations: 52.75 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.6977, allocations: 3.938 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6977, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.6978, allocations: 81.02 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.6978, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.747e-05/0.6978, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.6978, allocations: 7.984 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.421e-05/0.6979, allocations: 117 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001118/0.698, allocations: 217.2 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.871e-05/0.6981, allocations: 4 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.974e-05/0.6981, allocations: 79.28 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of Backend: time 3.1e-07/0.6981, allocations: 0 / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.6985, allocations: 100.7 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004565/0.699, allocations: 0.5536 MB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.002836/0.7018, allocations: 0.658 MB / 1.173 GB, free: 13.96 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches