Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.000986/0.0009861, allocations: 109.1 kB / 16.41 MB, free: 6.5 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.0009134/0.0009134, allocations: 183 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.187/1.187, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.183/2.183, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6611/0.6624, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001859/0.6643, allocations: 1.252 MB / 1.169 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002582/0.6646, allocations: 123.5 kB / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.6646, allocations: 0 / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.6647, allocations: 3.938 kB / 1.169 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.932e-05/0.6647, allocations: 3.984 kB / 1.169 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.6649, allocations: 39.83 kB / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.858e-05/0.665, allocations: 15.92 kB / 1.169 GB, free: 2.449 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.665, allocations: 8 kB / 1.169 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.881e-05/0.6651, allocations: 11.94 kB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.281e-05/0.6651, allocations: 11.92 kB / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.6651, allocations: 0 / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.6652, allocations: 47.95 kB / 1.169 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.6652, allocations: 3.984 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.6653, allocations: 11.92 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.914e-05/0.6654, allocations: 28.94 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6654, allocations: 0 / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6654, allocations: 0 / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.6654, allocations: 8 kB / 1.169 GB, free: 2.32 MB / 0.8887 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.000334/0.6657, allocations: 334.9 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.6658, allocations: 8.922 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.6658, allocations: 8.938 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.6659, allocations: 160.4 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.6659, allocations: 4.312 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.633e-06/0.666, allocations: 384 / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.812e-05/0.666, allocations: 45.56 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.351e-06/0.666, allocations: 4 kB / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.666, allocations: 0 / 1.169 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6661, allocations: 4 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.306e-05/0.6661, allocations: 0 / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.6662, allocations: 157.6 kB / 1.17 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.6663, allocations: 22.61 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.6663, allocations: 8.844 kB / 1.17 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006061/0.6669, allocations: 0.6169 MB / 1.17 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.6669, allocations: 34.5 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.6669, allocations: 0 / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001175/0.6671, allocations: 41.7 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.6671, allocations: 51.41 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.13e-05/0.6672, allocations: 97.84 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.6672, allocations: 25.7 kB / 1.17 GB, free: 404 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.389e-05/0.6672, allocations: 84.27 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.07e-05/0.6672, allocations: 11.94 kB / 1.17 GB, free: 304 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-05/0.6673, allocations: 13.72 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.6674, allocations: 310.8 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.36e-05/0.6674, allocations: 7.984 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.6674, allocations: 7.938 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.6674, allocations: 16.86 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6674, allocations: 4.062 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.302e-05/0.6675, allocations: 41.64 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.6675, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.6675, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.6675, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.126e-05/0.6676, allocations: 11.92 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.6676, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.6676, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.6676, allocations: 4 kB / 1.171 GB, free: 15.86 MB / 0.9044 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 5.684e-05/0.6677, allocations: 117.8 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.6677, allocations: 3.938 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.312e-05/0.6678, allocations: 52.75 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.6678, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.6678, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.6678, allocations: 0 / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.331e-05/0.6679, allocations: 153.7 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.6679, allocations: 3.938 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.05e-05/0.6679, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.6679, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.6679, allocations: 4.031 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6679, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6679, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.841e-05/0.668, allocations: 75.5 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.6681, allocations: 85.05 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.6681, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.6681, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.6681, allocations: 4.031 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.6681, allocations: 4 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.6682, allocations: 83.27 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6682, allocations: 0 / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001771/0.6683, allocations: 15.94 kB / 1.171 GB, free: 15.16 MB / 0.9044 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.0001291/0.6685, allocations: 107.2 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.452e-05/0.6685, allocations: 7.984 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6686, allocations: 3.938 kB / 1.172 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.6686, allocations: 16.06 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.6688, allocations: 7.922 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.669, allocations: 131.7 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.6692, allocations: 0.6768 MB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.37e-05/0.6692, allocations: 7.438 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.6692, allocations: 0 / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of Templates: time 0.001692/0.6709, allocations: 0.5996 MB / 1.173 GB, free: 13.54 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches