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.001204/0.001204, allocations: 108 kB / 15.6 MB, free: 132 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.001465/0.001465, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.387 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.475/2.475, allocations: 390.2 MB / 0.6647 GB, free: 296 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 67.89 kB / 0.8125 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.8178, allocations: 140.4 MB / 0.9496 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002133/0.82, allocations: 1.251 MB / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002713/0.8203, allocations: 118.7 kB / 0.9509 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.8203, allocations: 0 / 0.9509 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.8203, allocations: 7.984 kB / 0.9509 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.85e-05/0.8204, allocations: 9.297 kB / 0.9509 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.8206, allocations: 35.02 kB / 0.951 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.134e-05/0.8207, allocations: 10.81 kB / 0.951 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.157e-05/0.8207, allocations: 1.375 kB / 0.951 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.544e-05/0.8208, allocations: 6.75 kB / 0.951 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.039e-05/0.8208, allocations: 18.59 kB / 0.951 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.8208, allocations: 1.375 kB / 0.951 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.821, allocations: 52.7 kB / 0.9511 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.11e-05/0.821, allocations: 3.984 kB / 0.9511 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.42e-05/0.821, allocations: 6.688 kB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.8211, allocations: 34.08 kB / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8211, allocations: 0 / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8211, allocations: 0 / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.8212, allocations: 1.094 kB / 0.9511 GB, free: 8.043 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003141/0.8215, allocations: 331.5 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.8215, allocations: 8.75 kB / 0.9514 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.8216, allocations: 6.5 kB / 0.9514 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.8216, allocations: 169.8 kB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.8217, allocations: 4.375 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.8217, allocations: 1.531 kB / 0.9516 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.122e-05/0.8218, allocations: 45.94 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8218, allocations: 0 / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.8218, allocations: 3.938 kB / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.8218, allocations: 0 / 0.9516 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.187e-05/0.8218, allocations: 7.656 kB / 0.9517 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.8219, allocations: 157.2 kB / 0.9518 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.336e-05/0.822, allocations: 19.86 kB / 0.9518 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.888e-05/0.822, allocations: 7.422 kB / 0.9518 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005453/0.8226, allocations: 0.6121 MB / 0.9524 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.8226, allocations: 35.88 kB / 0.9525 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.8226, allocations: 4 kB / 0.9525 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001291/0.8227, allocations: 43.48 kB / 0.9525 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.8228, allocations: 55.39 kB / 0.9526 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.72e-05/0.8228, allocations: 94.42 kB / 0.9526 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.342e-06/0.8228, allocations: 25.7 kB / 0.9527 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.374e-05/0.8228, allocations: 81.77 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.8229, allocations: 7.906 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.294e-05/0.8229, allocations: 13.03 kB / 0.9528 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.278e-05/0.823, allocations: 320.5 kB / 0.9531 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.823, allocations: 1.281 kB / 0.9531 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.777e-06/0.823, allocations: 5.656 kB / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.823, allocations: 10.08 kB / 0.9531 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.823, allocations: 1.062 kB / 0.9531 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.109e-05/0.8231, allocations: 49.95 kB / 0.9531 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.8231, allocations: 10.55 kB / 0.9532 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.8231, allocations: 0 / 0.9532 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.8231, allocations: 4.812 kB / 0.9532 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.917e-05/0.8232, allocations: 3.062 kB / 0.9532 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.8232, allocations: 5.516 kB / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.8232, allocations: 0 / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.8232, allocations: 0 / 0.9532 GB, free: 5.719 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 (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 4.128e-05/0.8233, allocations: 107.4 kB / 0.9533 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.8233, allocations: 5.688 kB / 0.9533 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.365e-05/0.8234, allocations: 49.03 kB / 0.9533 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.8234, allocations: 5.375 kB / 0.9533 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.8234, allocations: 0 / 0.9533 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8234, allocations: 0 / 0.9533 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.564e-05/0.8234, allocations: 157.9 kB / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8235, allocations: 0 / 0.9535 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.8235, allocations: 6.625 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8235, allocations: 1.562 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.8235, allocations: 0 / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.8235, allocations: 3.938 kB / 0.9535 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8235, allocations: 0 / 0.9535 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.626e-05/0.8236, allocations: 67.56 kB / 0.9536 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.8236, allocations: 86.08 kB / 0.9536 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.8236, allocations: 4 kB / 0.9536 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.516e-05/0.8236, allocations: 1.406 kB / 0.9536 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.076e-05/0.8236, allocations: 192 / 0.9536 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.8236, allocations: 5.516 kB / 0.9536 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.967e-05/0.8237, allocations: 85.8 kB / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8237, allocations: 0 / 0.9537 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001885/0.8239, allocations: 20.25 kB / 0.9537 GB, free: 5.07 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 (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.0001343/0.824, allocations: 113 kB / 0.9539 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.754e-05/0.8241, allocations: 10.25 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.8241, allocations: 1.688 kB / 0.9539 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.208e-05/0.8241, allocations: 7.906 kB / 0.9539 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.8243, allocations: 10.61 kB / 0.9539 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002324/0.8246, allocations: 111.5 kB / 0.954 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.102e-05/0.8247, allocations: 0.6797 MB / 0.9547 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.8247, allocations: 2.375 kB / 0.9547 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.8247, allocations: 8.562 kB / 0.9547 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.8247, allocations: 0 / 0.9547 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of Templates: time 0.002426/0.8272, allocations: 0.5957 MB / 0.9552 GB, free: 3.832 MB / 0.7169 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