Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001216, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 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.00185, allocations: 180.4 kB / 16.92 MB, free: 6.652 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.501/1.501, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.628/2.628, allocations: 390.9 MB / 0.667 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.967/0.9674, allocations: 142.4 MB / 0.9557 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001638/0.9691, allocations: 1.02 MB / 0.9567 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000748/0.9699, allocations: 316.1 kB / 0.957 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.97, allocations: 1.406 kB / 0.957 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.684e-05/0.97, allocations: 3.938 kB / 0.957 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.9701, allocations: 5.516 kB / 0.957 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.9705, allocations: 55.97 kB / 0.9571 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.9706, allocations: 40.75 kB / 0.9571 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.078e-05/0.9707, allocations: 2.312 kB / 0.9571 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.9708, allocations: 29.38 kB / 0.9571 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.963e-05/0.9709, allocations: 13.31 kB / 0.9571 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.9709, allocations: 3.938 kB / 0.9571 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.9711, allocations: 82.88 kB / 0.9572 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.9712, allocations: 5.234 kB / 0.9572 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.504e-05/0.9712, allocations: 38.08 kB / 0.9573 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.9714, allocations: 53.84 kB / 0.9573 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9714, allocations: 0 / 0.9573 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9714, allocations: 1 kB / 0.9573 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.9714, allocations: 0 / 0.9573 GB, free: 6.375 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003929/0.9718, allocations: 344.7 kB / 0.9576 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.9719, allocations: 12.7 kB / 0.9577 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.9719, allocations: 10.78 kB / 0.9577 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.972, allocations: 166.8 kB / 0.9578 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.9721, allocations: 1.344 kB / 0.9578 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.9721, allocations: 1.531 kB / 0.9578 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.9722, allocations: 47.16 kB / 0.9579 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.9722, allocations: 1.312 kB / 0.9579 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.9722, allocations: 0 / 0.9579 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.9722, allocations: 1.156 kB / 0.9579 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/0.9723, allocations: 6.344 kB / 0.9579 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.9724, allocations: 163.5 kB / 0.958 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.127e-05/0.9725, allocations: 29.83 kB / 0.9581 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/0.9726, allocations: 12.48 kB / 0.9581 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009421/0.9735, allocations: 1.189 MB / 0.9592 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.9736, allocations: 39.53 kB / 0.9593 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.9736, allocations: 1.156 kB / 0.9593 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001703/0.9738, allocations: 52.44 kB / 0.9593 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.9738, allocations: 51.41 kB / 0.9594 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.006e-05/0.9739, allocations: 111.2 kB / 0.9595 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.9739, allocations: 25.7 kB / 0.9595 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.106e-05/0.9739, allocations: 89.17 kB / 0.9596 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.9739, allocations: 9.047 kB / 0.9596 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.974, allocations: 10.84 kB / 0.9596 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.884e-05/0.974, allocations: 312 kB / 0.9599 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.79e-05/0.9741, allocations: 6.469 kB / 0.9599 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.225e-05/0.9741, allocations: 7.188 kB / 0.9599 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.9741, allocations: 24.94 kB / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9741, allocations: 0 / 0.96 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.627e-05/0.9742, allocations: 54.03 kB / 0.96 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.9742, allocations: 6.188 kB / 0.96 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.9742, allocations: 1.094 kB / 0.96 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.9743, allocations: 0 / 0.96 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.9743, allocations: 5.484 kB / 0.96 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.9743, allocations: 3.938 kB / 0.96 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.9744, allocations: 9.047 kB / 0.96 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.9744, allocations: 1 kB / 0.96 GB, free: 3.34 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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.698e-05/0.9744, allocations: 108.1 kB / 0.9601 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.9745, allocations: 13.09 kB / 0.9601 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.9746, allocations: 60.23 kB / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.9746, allocations: 1.125 kB / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.9746, allocations: 0 / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.9746, allocations: 1.25 kB / 0.9602 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.2e-05/0.9747, allocations: 163.3 kB / 0.9604 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9748, allocations: 0 / 0.9604 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.826e-05/0.9748, allocations: 9.344 kB / 0.9604 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.9748, allocations: 4 kB / 0.9604 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.9748, allocations: 1.812 kB / 0.9604 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9748, allocations: 0 / 0.9604 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.9748, allocations: 4 kB / 0.9604 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.855e-05/0.9749, allocations: 79.25 kB / 0.9605 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.975, allocations: 87.72 kB / 0.9605 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.975, allocations: 1.312 kB / 0.9605 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.975, allocations: 0 / 0.9605 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.975, allocations: 10.48 kB / 0.9605 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.9751, allocations: 1.281 kB / 0.9605 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.254e-05/0.9751, allocations: 85.66 kB / 0.9606 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9751, allocations: 0 / 0.9606 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002152/0.9753, allocations: 28.67 kB / 0.9607 GB, free: 2.664 MB / 0.7169 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 (3): * Single equations (assignments): 3 * 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.0001992/0.9755, allocations: 123.2 kB / 0.9608 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.521e-05/0.9756, allocations: 23.12 kB / 0.9608 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.9756, allocations: 4 kB / 0.9608 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.708e-05/0.9756, allocations: 6.625 kB / 0.9608 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.9759, allocations: 13.23 kB / 0.9608 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.9762, allocations: 156.1 kB / 0.961 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.9763, allocations: 0.6796 MB / 0.9616 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.9763, allocations: 10.53 kB / 0.9616 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9764, allocations: 4 kB / 0.9616 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of Templates: time 0.002561/0.9789, allocations: 0.7271 MB / 0.9624 GB, free: 1.301 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches