Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006434/0.006434, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001153/0.001153, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.363/2.363, allocations: 390.2 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 62.56 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2681, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002099/0.2703, allocations: 1.263 MB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002723/0.2706, allocations: 116 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.495e-05/0.2706, allocations: 0 / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.2706, allocations: 3.938 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.822e-05/0.2707, allocations: 0 / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.2709, allocations: 39.89 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.271, allocations: 23.8 kB / 1.089 GB, free: 40 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.067e-05/0.271, allocations: 4 kB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.2711, allocations: 7.984 kB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.2711, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.2711, allocations: 0 / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.2713, allocations: 55.94 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.2713, allocations: 3.938 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.2713, allocations: 0 / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001164/0.2714, allocations: 51.81 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.2714, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2715, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.2715, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 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.0004089/0.2719, allocations: 331.5 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.2719, allocations: 8.031 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.272, allocations: 4.891 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.2721, allocations: 176.2 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2721, allocations: 384 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-06/0.2721, allocations: 4.375 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.253e-05/0.2722, allocations: 37.64 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2722, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.2722, allocations: 3.938 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.2722, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.157e-05/0.2723, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.2724, allocations: 153.7 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.014e-05/0.2725, allocations: 22.61 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.2725, allocations: 16.91 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007045/0.2732, allocations: 0.6051 MB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.2732, allocations: 30.56 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2733, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001288/0.2734, allocations: 45.62 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.2734, allocations: 55.53 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.36e-05/0.2735, allocations: 93.86 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2735, allocations: 33.7 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.2736, allocations: 80.14 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.2736, allocations: 3.953 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.2736, allocations: 17.7 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2737, allocations: 314.8 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.2738, allocations: 3.938 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-06/0.2738, allocations: 8 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/0.2738, allocations: 12.8 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2738, allocations: 0 / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.57e-05/0.2739, allocations: 49.62 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.2739, allocations: 4 kB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.676e-06/0.2739, allocations: 0 / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.2739, allocations: 0 / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.891e-05/0.274, allocations: 4 kB / 1.091 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.274, allocations: 0 / 1.091 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.274, allocations: 4.094 kB / 1.091 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.767e-06/0.274, allocations: 0 / 1.091 GB, free: 13.47 MB / 0.8575 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.871e-05/0.2741, allocations: 109.8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.2741, allocations: 7.891 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.974e-05/0.2742, allocations: 52.94 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2742, allocations: 3.984 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2742, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2742, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.29e-05/0.2743, allocations: 149.7 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2743, allocations: 7.969 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.232e-05/0.2744, allocations: 7.938 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2744, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.2744, allocations: 4 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2744, allocations: 4 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.2744, allocations: 3.984 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.835e-05/0.2745, allocations: 61.08 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.2745, allocations: 85.08 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.2745, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.2746, allocations: 7.984 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.2746, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.2746, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.416e-05/0.2746, allocations: 79.28 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2746, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000199/0.2748, allocations: 15.94 kB / 1.092 GB, free: 12.77 MB / 0.8575 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.0001535/0.275, allocations: 115.7 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.119e-05/0.2751, allocations: 15.94 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2751, allocations: 0 / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.318e-05/0.2751, allocations: 7.938 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.2753, allocations: 13.64 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.2756, allocations: 102.1 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.2758, allocations: 0.673 MB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.127e-05/0.2758, allocations: 8 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.2758, allocations: 7.438 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.2759, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of Templates: time 0.002488/0.2783, allocations: 0.5994 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches