Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_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_latest_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.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001622/0.001622, allocations: 194.1 kB / 16.14 MB, free: 6.645 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 461.9 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 62.78 kB / 0.8984 GB, free: 37.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3132, allocations: 157.4 MB / 1.052 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002461/0.3157, allocations: 1.353 MB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0005802/0.3163, allocations: 326.9 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.685e-05/0.3163, allocations: 0 / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.855e-05/0.3164, allocations: 0 / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.782e-05/0.3165, allocations: 11.92 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.3167, allocations: 55.8 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.307e-05/0.3168, allocations: 35.91 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.3168, allocations: 7.938 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.3169, allocations: 23.92 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.317, allocations: 11.92 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.317, allocations: 7.938 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3171, allocations: 79.91 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.3172, allocations: 7.938 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.3172, allocations: 11.94 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.3174, allocations: 76.06 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3174, allocations: 0 / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.52e-07/0.3174, allocations: 4 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.3174, allocations: 0 / 1.054 GB, free: 6.887 MB / 0.8106 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.0003624/0.3177, allocations: 359.3 kB / 1.054 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.3178, allocations: 8.031 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.3178, allocations: 0.9375 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3179, allocations: 172.3 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.3179, allocations: 4.312 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.318, allocations: 384 / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.3181, allocations: 45.81 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3181, allocations: 0 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3181, allocations: 0 / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3181, allocations: 4 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.3182, allocations: 15.94 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.3183, allocations: 157.7 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.3184, allocations: 30.58 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.308e-05/0.3185, allocations: 8.922 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.3196, allocations: 1.187 MB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3196, allocations: 38.44 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.3196, allocations: 0 / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001542/0.3198, allocations: 57.53 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/0.3198, allocations: 51.41 kB / 1.056 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/0.3199, allocations: 113.8 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.3199, allocations: 25.7 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.32, allocations: 84.14 kB / 1.056 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.32, allocations: 11.83 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.32, allocations: 17.72 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.3201, allocations: 310.8 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.3201, allocations: 4 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.537e-05/0.3202, allocations: 7.984 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.423e-05/0.3202, allocations: 21.14 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3202, allocations: 0 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.101e-05/0.3203, allocations: 57.55 kB / 1.057 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3203, allocations: 4 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3203, allocations: 0 / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.3203, allocations: 0 / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.772e-05/0.3204, allocations: 4 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.3204, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.699e-05/0.3204, allocations: 4 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.3204, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 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 7.998e-05/0.3205, allocations: 115.4 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.3205, allocations: 11.84 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.3207, allocations: 65.52 kB / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3207, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3207, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3207, allocations: 0 / 1.057 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.3208, allocations: 161.7 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3208, allocations: 0 / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.753e-05/0.3208, allocations: 7.938 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3208, allocations: 3.938 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3209, allocations: 3.984 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3209, allocations: 4 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3209, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.161e-05/0.321, allocations: 80.91 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.321, allocations: 89.05 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.321, allocations: 4 kB / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.3211, allocations: 0 / 1.057 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.3211, allocations: 3.984 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3211, allocations: 4 kB / 1.057 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.818e-05/0.3212, allocations: 79.59 kB / 1.057 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3212, allocations: 0 / 1.057 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002148/0.3214, allocations: 31.98 kB / 1.057 GB, free: 2.875 MB / 0.8106 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.000175/0.3216, allocations: 135.2 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.3216, allocations: 12 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3216, allocations: 0 / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.882e-05/0.3217, allocations: 15.92 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.3219, allocations: 14.83 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.3221, allocations: 123.9 kB / 1.058 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.3224, allocations: 0.6848 MB / 1.058 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.52e-05/0.3224, allocations: 12.16 kB / 1.058 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.3225, allocations: 11.44 kB / 1.058 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3225, allocations: 0 / 1.058 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of Templates: time 0.002635/0.3251, allocations: 0.7747 MB / 1.059 GB, free: 1.043 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches