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.0007486/0.0007486, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005136/0.005136, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.345/2.345, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6697/0.6701, allocations: 142.4 MB / 0.955 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001249/0.6714, allocations: 0.9902 MB / 0.956 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000319/0.6717, allocations: 131.5 kB / 0.9561 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.6718, allocations: 1.031 kB / 0.9561 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.6718, allocations: 0 / 0.9561 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.576e-05/0.6719, allocations: 5.125 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.672, allocations: 27.8 kB / 0.9562 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.744e-05/0.6721, allocations: 14.83 kB / 0.9562 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.6721, allocations: 1.062 kB / 0.9562 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.6722, allocations: 7.406 kB / 0.9562 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.412e-05/0.6722, allocations: 6.094 kB / 0.9562 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.6722, allocations: 1.188 kB / 0.9562 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.6724, allocations: 56.47 kB / 0.9562 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.6724, allocations: 0 / 0.9562 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.6724, allocations: 37 kB / 0.9563 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.6725, allocations: 36.81 kB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6726, allocations: 1.031 kB / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6726, allocations: 0 / 0.9563 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.6726, allocations: 3.938 kB / 0.9563 GB, free: 6.695 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.0002759/0.6729, allocations: 329.9 kB / 0.9566 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.6729, allocations: 9.5 kB / 0.9566 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.6729, allocations: 1.906 kB / 0.9566 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.066e-05/0.673, allocations: 169.4 kB / 0.9568 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.6731, allocations: 1.625 kB / 0.9568 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.6731, allocations: 1.625 kB / 0.9568 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.864e-05/0.6731, allocations: 36.19 kB / 0.9568 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.6732, allocations: 3.984 kB / 0.9568 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.6732, allocations: 1 kB / 0.9568 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.6732, allocations: 3.938 kB / 0.9569 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.947e-05/0.6732, allocations: 8.125 kB / 0.9569 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001117/0.6733, allocations: 152.5 kB / 0.957 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.424e-05/0.6734, allocations: 27.89 kB / 0.957 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.6734, allocations: 8.141 kB / 0.957 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/0.674, allocations: 0.6131 MB / 0.9576 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.674, allocations: 39.69 kB / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.674, allocations: 0 / 0.9577 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000132/0.6741, allocations: 44.36 kB / 0.9577 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.109e-05/0.6742, allocations: 51.41 kB / 0.9578 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.6742, allocations: 102.5 kB / 0.9579 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.6742, allocations: 25.7 kB / 0.9579 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.504e-05/0.6742, allocations: 80.14 kB / 0.958 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.6743, allocations: 5.094 kB / 0.958 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.6743, allocations: 15.03 kB / 0.958 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.6743, allocations: 316 kB / 0.9583 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.6744, allocations: 1.281 kB / 0.9583 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-06/0.6744, allocations: 6.547 kB / 0.9583 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/0.6744, allocations: 14.02 kB / 0.9583 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6744, allocations: 0 / 0.9583 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.663e-05/0.6745, allocations: 43.36 kB / 0.9583 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.6745, allocations: 4.688 kB / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6745, allocations: 96 / 0.9584 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.6745, allocations: 5.438 kB / 0.9584 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.6746, allocations: 2.344 kB / 0.9584 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6746, allocations: 3.984 kB / 0.9584 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.6746, allocations: 5.062 kB / 0.9584 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.6746, allocations: 1.344 kB / 0.9584 GB, free: 4.387 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.659e-05/0.6747, allocations: 111.2 kB / 0.9585 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.6747, allocations: 5.5 kB / 0.9585 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.208e-05/0.6748, allocations: 44.12 kB / 0.9585 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.6748, allocations: 5.062 kB / 0.9585 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.6748, allocations: 0 / 0.9585 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.6748, allocations: 5.031 kB / 0.9585 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.881e-05/0.6749, allocations: 148.5 kB / 0.9587 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.6749, allocations: 3.938 kB / 0.9587 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.6749, allocations: 12.41 kB / 0.9587 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6749, allocations: 0 / 0.9587 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.6749, allocations: 0 / 0.9587 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6749, allocations: 5.422 kB / 0.9587 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6749, allocations: 4 kB / 0.9587 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.362e-05/0.675, allocations: 67.59 kB / 0.9588 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.68e-05/0.675, allocations: 81.05 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.675, allocations: 1.344 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.605e-05/0.6751, allocations: 0 / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.117e-05/0.6751, allocations: 1.125 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.6751, allocations: 1.375 kB / 0.9588 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.86e-05/0.6751, allocations: 76.78 kB / 0.9589 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6751, allocations: 5.375 kB / 0.9589 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002036/0.6753, allocations: 18.64 kB / 0.9589 GB, free: 3.746 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.0001438/0.6755, allocations: 121.3 kB / 0.9591 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.269e-05/0.6755, allocations: 10.23 kB / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6756, allocations: 0.9375 kB / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.071e-05/0.6756, allocations: 3.469 kB / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.6758, allocations: 8.188 kB / 0.9591 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.676, allocations: 115.5 kB / 0.9592 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.293e-05/0.6762, allocations: 0.6801 MB / 0.9599 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.802e-05/0.6762, allocations: 2.125 kB / 0.9599 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/0.6762, allocations: 12.62 kB / 0.9599 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of SimCode: time 3.3e-07/0.6762, allocations: 0 / 0.9599 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of Templates: time 0.002735/0.679, allocations: 0.5789 MB / 0.9604 GB, free: 2.496 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