Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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.WindPressureLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Cp",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Cp",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008583/0.008583, allocations: 97.48 kB / 15.73 MB, free: 5.988 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.001885/0.001885, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.636/2.636, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2996, allocations: 151.6 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002108/0.3017, allocations: 1.232 MB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3028, allocations: 0.7025 MB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.3029, allocations: 0 / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.3029, allocations: 3.938 kB / 1.169 GB, free: 4.836 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.303, allocations: 4 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.3033, allocations: 95.69 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.814e-05/0.3034, allocations: 11.92 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.3034, allocations: 0 / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.044e-05/0.3035, allocations: 11.88 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.044e-05/0.3036, allocations: 11.98 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-06/0.3036, allocations: 0 / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.3038, allocations: 131.8 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.427e-06/0.3038, allocations: 8 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.788e-05/0.3039, allocations: 3.938 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.304, allocations: 79.8 kB / 1.169 GB, free: 4.484 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.304, allocations: 4 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3041, allocations: 0 / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3041, allocations: 0 / 1.169 GB, free: 4.48 MB / 0.92 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.0003589/0.3044, allocations: 335.3 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3045, allocations: 8.031 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.3045, allocations: 0.9375 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.3046, allocations: 168.4 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3046, allocations: 384 / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.3047, allocations: 3.938 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.128e-05/0.3047, allocations: 29.7 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3048, allocations: 0 / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.3048, allocations: 7.922 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3048, allocations: 0 / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.065e-05/0.3048, allocations: 8 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.305, allocations: 145.7 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.432e-05/0.3051, allocations: 34.5 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.3051, allocations: 8.922 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004263/0.3055, allocations: 413.5 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.3055, allocations: 34.55 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.3056, allocations: 0 / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.3057, allocations: 45.64 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3057, allocations: 51.41 kB / 1.17 GB, free: 2.941 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.3058, allocations: 97.86 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.3058, allocations: 25.7 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.3059, allocations: 84.12 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3059, allocations: 11.89 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.3059, allocations: 9.719 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.306, allocations: 319.1 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.306, allocations: 4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.306, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.01e-05/0.3061, allocations: 16.8 kB / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3061, allocations: 0 / 1.171 GB, free: 2.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.595e-05/0.3062, allocations: 53.52 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.3062, allocations: 4 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3062, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.3062, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.3063, allocations: 8.094 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3063, allocations: 3.984 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.297e-05/0.3063, allocations: 0 / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3063, allocations: 4 kB / 1.171 GB, free: 2.27 MB / 0.92 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 6.319e-05/0.3064, allocations: 113.8 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-06/0.3064, allocations: 0 / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.467e-05/0.3065, allocations: 44.77 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3065, allocations: 0 / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.3065, allocations: 8.031 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3065, allocations: 3.984 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.603e-05/0.3066, allocations: 149.6 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3066, allocations: 0 / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.3066, allocations: 7.984 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3066, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.3066, allocations: 0 / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.3066, allocations: 11.98 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3067, allocations: 0 / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.636e-05/0.3067, allocations: 72.95 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 2.816e-05/0.3068, allocations: 77.11 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.3068, allocations: 3.984 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.241e-05/0.3068, allocations: 4 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.3068, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.3068, allocations: 0 / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.178e-05/0.3069, allocations: 79.28 kB / 1.171 GB, free: 1.602 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3069, allocations: 4 kB / 1.171 GB, free: 1.598 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002101/0.3071, allocations: 20.06 kB / 1.171 GB, free: 1.578 MB / 0.92 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.000207/0.3073, allocations: 135.1 kB / 1.171 GB, free: 1.434 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.913e-05/0.3074, allocations: 8 kB / 1.171 GB, free: 1.426 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3074, allocations: 0 / 1.171 GB, free: 1.426 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.218e-05/0.3074, allocations: 7.938 kB / 1.171 GB, free: 1.418 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.3076, allocations: 7.938 kB / 1.171 GB, free: 1.41 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002329/0.3078, allocations: 93.59 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.308, allocations: 0.6768 MB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.218e-05/0.3081, allocations: 3.984 kB / 1.172 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.462e-05/0.3081, allocations: 7.438 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.3081, allocations: 0 / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of Templates: time 0.002841/0.3109, allocations: 0.7117 MB / 1.173 GB, free: 15.87 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches