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.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.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.001742/0.001742, allocations: 102.3 kB / 16.4 MB, free: 6.406 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.002101/0.002101, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.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.325/2.325, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.89 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222/1.224, allocations: 140.4 MB / 1.089 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.003844/1.227, allocations: 1.304 MB / 1.09 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008602/1.228, allocations: 292.3 kB / 1.09 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.5e-05/1.228, allocations: 0 / 1.09 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/1.228, allocations: 8.547 kB / 1.09 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/1.229, allocations: 10.27 kB / 1.09 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/1.229, allocations: 85.78 kB / 1.09 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/1.229, allocations: 35.91 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.742e-05/1.229, allocations: 3.094 kB / 1.09 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/1.23, allocations: 35.64 kB / 1.09 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.692e-05/1.23, allocations: 10.66 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/1.23, allocations: 1.125 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/1.23, allocations: 83.64 kB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/1.23, allocations: 5.703 kB / 1.09 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/1.23, allocations: 8.516 kB / 1.09 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/1.23, allocations: 81.91 kB / 1.091 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.709e-06/1.23, allocations: 0 / 1.091 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.007e-06/1.23, allocations: 0 / 1.091 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.077e-05/1.23, allocations: 0.9375 kB / 1.091 GB, free: 4.57 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006082/1.231, allocations: 348.1 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/1.231, allocations: 10.17 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/1.231, allocations: 3.125 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/1.231, allocations: 183.7 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/1.231, allocations: 1.438 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/1.231, allocations: 5.594 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/1.232, allocations: 42.5 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.232, allocations: 0 / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/1.232, allocations: 0.875 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/1.232, allocations: 0 / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/1.232, allocations: 9.516 kB / 1.091 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/1.232, allocations: 159.4 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/1.232, allocations: 40.86 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.981e-05/1.232, allocations: 13.42 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/1.233, allocations: 1.185 MB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/1.233, allocations: 36.64 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/1.233, allocations: 0 / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0002259/1.234, allocations: 51.83 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/1.234, allocations: 51.92 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/1.234, allocations: 110.8 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/1.234, allocations: 30.8 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/1.234, allocations: 80.84 kB / 1.093 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/1.234, allocations: 6.703 kB / 1.093 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/1.234, allocations: 13.77 kB / 1.093 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/1.234, allocations: 321.1 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.97e-05/1.234, allocations: 4.016 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.734e-05/1.234, allocations: 3.859 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.842e-05/1.234, allocations: 17.52 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.234, allocations: 0 / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.835e-05/1.234, allocations: 49.05 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/1.234, allocations: 5.781 kB / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.234, allocations: 0 / 1.093 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.234, allocations: 5.688 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/1.234, allocations: 9.719 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/1.234, allocations: 0 / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/1.234, allocations: 9.688 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/1.234, allocations: 0.9375 kB / 1.093 GB, free: 1.605 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 (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 8.293e-05/1.235, allocations: 116.6 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/1.235, allocations: 6.094 kB / 1.093 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/1.235, allocations: 57.81 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.235, allocations: 0.75 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.235, allocations: 1.156 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.235, allocations: 0 / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/1.235, allocations: 165.1 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.235, allocations: 3.938 kB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-05/1.235, allocations: 9.828 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/1.235, allocations: 0.6562 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/1.235, allocations: 0.9062 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/1.235, allocations: 0.8438 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.235, allocations: 4.609 kB / 1.094 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/1.235, allocations: 74.83 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/1.235, allocations: 90.25 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/1.235, allocations: 1.5 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.276e-05/1.235, allocations: 1.766 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/1.235, allocations: 1.688 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/1.235, allocations: 10.3 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.102e-05/1.235, allocations: 84.02 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/1.235, allocations: 4 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002817/1.236, allocations: 25.58 kB / 1.094 GB, free: 0.9531 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 (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.0002921/1.236, allocations: 134.1 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001285/1.236, allocations: 12.12 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/1.236, allocations: 1.031 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/1.236, allocations: 11.3 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/1.236, allocations: 13.48 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/1.237, allocations: 153.6 kB / 1.094 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/1.237, allocations: 0.6783 MB / 1.095 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/1.237, allocations: 10.81 kB / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/1.237, allocations: 0 / 1.095 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.00368/1.241, allocations: 0.729 MB / 1.096 GB, free: 15.93 MB / 0.8731 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