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.001506/0.001506, allocations: 111.1 kB / 16.41 MB, free: 6.488 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.001584/0.001584, allocations: 189.5 kB / 17.34 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.474/1.474, allocations: 222.9 MB / 241 MB, free: 15.16 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.377/2.377, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 63.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044/1.046, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002303/1.048, allocations: 1.293 MB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005489/1.049, allocations: 299.5 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.375e-05/1.049, allocations: 4 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/1.049, allocations: 0.6094 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001286/1.049, allocations: 18.28 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/1.049, allocations: 79.06 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.617e-05/1.049, allocations: 35.14 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/1.049, allocations: 3.297 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/1.05, allocations: 34.7 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.199e-05/1.05, allocations: 15.59 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/1.05, allocations: 1.062 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/1.05, allocations: 78.72 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/1.05, allocations: 10.14 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/1.05, allocations: 12.5 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/1.05, allocations: 79.8 kB / 1.091 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/1.05, allocations: 0.6562 kB / 1.091 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/1.05, allocations: 0 / 1.091 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.55e-06/1.05, allocations: 0 / 1.091 GB, free: 4.285 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.0003349/1.05, allocations: 346.2 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/1.05, allocations: 10.39 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/1.051, allocations: 6.812 kB / 1.091 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.057e-05/1.051, allocations: 175.2 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/1.051, allocations: 5.875 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/1.051, allocations: 1.188 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.761e-05/1.051, allocations: 42.5 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/1.051, allocations: 5.188 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/1.051, allocations: 0.6562 kB / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/1.051, allocations: 0 / 1.091 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.425e-05/1.051, allocations: 12.67 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/1.051, allocations: 156.3 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.184e-05/1.051, allocations: 37.47 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/1.051, allocations: 12.31 kB / 1.091 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008573/1.052, allocations: 1.185 MB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/1.052, allocations: 36.14 kB / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/1.052, allocations: 0 / 1.092 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001611/1.052, allocations: 55.95 kB / 1.093 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/1.052, allocations: 53.45 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.034e-05/1.052, allocations: 106.1 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/1.052, allocations: 26.7 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/1.052, allocations: 84.66 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/1.052, allocations: 6.609 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/1.052, allocations: 19.25 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.948e-05/1.052, allocations: 316.6 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.614e-05/1.052, allocations: 2.875 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.32e-05/1.052, allocations: 4.266 kB / 1.093 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/1.052, allocations: 21.28 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.053, allocations: 0.7812 kB / 1.093 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.722e-05/1.053, allocations: 49.5 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/1.053, allocations: 4.75 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/1.053, allocations: 1.125 kB / 1.093 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/1.053, allocations: 4 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.266e-05/1.053, allocations: 6.141 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/1.053, allocations: 0.9375 kB / 1.093 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/1.053, allocations: 7.891 kB / 1.093 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/1.053, allocations: 6.234 kB / 1.093 GB, free: 1.324 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 5.523e-05/1.053, allocations: 108.2 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/1.053, allocations: 5.875 kB / 1.093 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/1.053, allocations: 65.5 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/1.053, allocations: 1.656 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.053, allocations: 1.094 kB / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/1.053, allocations: 0 / 1.093 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.827e-05/1.053, allocations: 160.8 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.053, allocations: 3.938 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/1.053, allocations: 10.59 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/1.053, allocations: 0 / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/1.053, allocations: 1.219 kB / 1.094 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.053, allocations: 4.516 kB / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.053, allocations: 0 / 1.094 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.144e-05/1.053, allocations: 79.48 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.945e-05/1.053, allocations: 86.19 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/1.053, allocations: 0.9062 kB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.754e-05/1.053, allocations: 6.156 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/1.053, allocations: 1.781 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/1.053, allocations: 2.547 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.95e-05/1.053, allocations: 95.52 kB / 1.094 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.053, allocations: 0 / 1.094 GB, free: 16.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002137/1.054, allocations: 29.44 kB / 1.094 GB, free: 16.67 MB / 0.8731 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.0002111/1.054, allocations: 125.8 kB / 1.094 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.205e-05/1.054, allocations: 13.2 kB / 1.094 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.054, allocations: 0 / 1.094 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.99e-05/1.054, allocations: 15.03 kB / 1.094 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/1.054, allocations: 7.016 kB / 1.094 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/1.055, allocations: 151.5 kB / 1.094 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/1.055, allocations: 0.6788 MB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/1.055, allocations: 10.95 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of SimCode: time 9.22e-07/1.055, allocations: 0 / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.00262/1.057, allocations: 0.7387 MB / 1.096 GB, free: 15.65 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