Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 218.3 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.574/3.574, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 69.84 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4658, allocations: 181.9 MB / 1.365 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.003022/0.4688, allocations: 1.287 MB / 1.366 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003802/0.4692, allocations: 91.69 kB / 1.366 GB, free: 12.24 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.4692, allocations: 8 kB / 1.366 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.4692, allocations: 3.938 kB / 1.366 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.212e-05/0.4693, allocations: 3.938 kB / 1.366 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.4696, allocations: 27.89 kB / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.454e-05/0.4696, allocations: 19.92 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.181e-05/0.4697, allocations: 0 / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.838e-05/0.4697, allocations: 8 kB / 1.366 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/0.4698, allocations: 11.92 kB / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.4698, allocations: 0 / 1.366 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.47, allocations: 43.89 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.47, allocations: 0 / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.47, allocations: 4 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.4701, allocations: 39.81 kB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4701, allocations: 0 / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.817e-06/0.4701, allocations: 0 / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4702, allocations: 4 kB / 1.366 GB, free: 12.07 MB / 1.061 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.0004789/0.4706, allocations: 250.3 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4707, allocations: 8.031 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003363/0.471, allocations: 24.91 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/0.4712, allocations: 114.5 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.4712, allocations: 4.359 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.4712, allocations: 384 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.4714, allocations: 49.61 kB / 1.367 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4714, allocations: 3.938 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4714, allocations: 0 / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.4714, allocations: 4 kB / 1.367 GB, free: 11.56 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.4715, allocations: 27.97 kB / 1.367 GB, free: 11.53 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000182/0.4717, allocations: 105.3 kB / 1.367 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.4719, allocations: 42.58 kB / 1.367 GB, free: 11.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.553e-05/0.4719, allocations: 16.92 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.472, allocations: 0 / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.472, allocations: 38.5 kB / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.472, allocations: 0 / 1.367 GB, free: 11.28 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003086/0.4723, allocations: 73.59 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.4724, allocations: 55.41 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.927e-05/0.4724, allocations: 93.86 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.4725, allocations: 25.7 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.4725, allocations: 80.14 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.4726, allocations: 15.94 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.4726, allocations: 9.719 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4728, allocations: 318.8 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.085e-05/0.4728, allocations: 11.98 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-05/0.4729, allocations: 16.11 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.473, allocations: 32.78 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.473, allocations: 0 / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001554/0.4732, allocations: 57.69 kB / 1.368 GB, free: 10.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4732, allocations: 11.92 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4732, allocations: 0 / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4732, allocations: 0 / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.4733, allocations: 12.09 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4733, allocations: 0 / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.318e-05/0.4734, allocations: 11.92 kB / 1.368 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.4734, allocations: 0 / 1.368 GB, free: 10.41 MB / 1.061 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 9.469e-05/0.4735, allocations: 109.8 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.4735, allocations: 3.938 kB / 1.368 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.172e-05/0.4736, allocations: 3.312 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.4736, allocations: 0 / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4736, allocations: 4 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4736, allocations: 0 / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.4737, allocations: 113.3 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4737, allocations: 0 / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.4738, allocations: 7.938 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4738, allocations: 0 / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.4738, allocations: 7.938 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.4738, allocations: 0 / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4738, allocations: 3.984 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.474, allocations: 77.12 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.474, allocations: 3.984 kB / 1.368 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.474, allocations: 7.969 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-05/0.4741, allocations: 7.938 kB / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.4741, allocations: 0 / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.4741, allocations: 0 / 1.368 GB, free: 10 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.52e-05/0.4741, allocations: 91.44 kB / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4741, allocations: 0 / 1.368 GB, free: 9.914 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001806/0.4743, allocations: 8 kB / 1.368 GB, free: 9.906 MB / 1.061 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.0001405/0.4745, allocations: 99.12 kB / 1.368 GB, free: 9.797 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.4747, allocations: 27.98 kB / 1.368 GB, free: 9.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.4747, allocations: 4 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.915e-05/0.4747, allocations: 11.98 kB / 1.368 GB, free: 9.754 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.475, allocations: 11.98 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005772/0.4756, allocations: 152.1 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.57e-05/0.4757, allocations: 59.36 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.001e-05/0.4757, allocations: 15.36 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.4757, allocations: 0 / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of Templates: time 0.002445/0.4782, allocations: 0.6671 MB / 1.369 GB, free: 8.805 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.34733554115519]