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.00164/0.00164, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001805/0.001805, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.09 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.624/2.624, allocations: 437 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 67.89 kB / 1.019 GB, free: 9.379 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.033/1.034, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002378/1.037, allocations: 1.234 MB / 1.168 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001238/1.038, allocations: 0.7045 MB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/1.038, allocations: 0 / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/1.038, allocations: 4 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001604/1.038, allocations: 7.938 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/1.039, allocations: 91.67 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.954e-05/1.039, allocations: 8 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/1.039, allocations: 8 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/1.039, allocations: 11.86 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.366e-05/1.039, allocations: 7.984 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/1.039, allocations: 0 / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/1.039, allocations: 135.8 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.327e-06/1.039, allocations: 0 / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/1.039, allocations: 3.938 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/1.039, allocations: 83.86 kB / 1.17 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.039, allocations: 3.938 kB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.943e-06/1.039, allocations: 0 / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.992e-06/1.039, allocations: 0 / 1.17 GB, free: 1.516 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.000431/1.04, allocations: 331.4 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.04, allocations: 12.86 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/1.04, allocations: 8.938 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/1.04, allocations: 164.3 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/1.04, allocations: 384 / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/1.04, allocations: 3.938 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.251e-05/1.04, allocations: 37.62 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/1.04, allocations: 0 / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/1.04, allocations: 0 / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.04, allocations: 0 / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/1.04, allocations: 4 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/1.04, allocations: 157.6 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.212e-05/1.041, allocations: 30.53 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.31e-05/1.041, allocations: 8.922 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004499/1.041, allocations: 417.5 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/1.041, allocations: 30.56 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.041, allocations: 4 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001546/1.041, allocations: 45.64 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/1.041, allocations: 51.41 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.917e-05/1.041, allocations: 93.84 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/1.041, allocations: 25.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/1.041, allocations: 88.14 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/1.041, allocations: 3.906 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/1.042, allocations: 13.97 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.042, allocations: 314.8 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.291e-05/1.042, allocations: 4 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.37e-05/1.042, allocations: 4 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/1.042, allocations: 12.84 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/1.042, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.701e-05/1.042, allocations: 45.58 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.042, allocations: 4 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.042, allocations: 8.094 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.042, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.696e-05/1.042, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.042, allocations: 4 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/1.042, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/1.042, allocations: 4 kB / 1.171 GB, free: 15.31 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 8.968e-05/1.042, allocations: 116 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.317e-06/1.042, allocations: 4 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.017e-05/1.042, allocations: 44.83 kB / 1.172 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.042, allocations: 7.922 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.042, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.042, allocations: 3.938 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/1.042, allocations: 159.4 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/1.042, allocations: 0 / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.691e-05/1.042, allocations: 0 / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.042, allocations: 7.984 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/1.042, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.042, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/1.042, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.648e-05/1.042, allocations: 65.11 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/1.042, allocations: 85 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/1.042, allocations: 4 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.006e-05/1.043, allocations: 0 / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/1.043, allocations: 0 / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/1.043, allocations: 0 / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.617e-05/1.043, allocations: 83.31 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.043, allocations: 8.031 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002053/1.043, allocations: 20 kB / 1.172 GB, free: 14.61 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.0002225/1.043, allocations: 131.1 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.926e-05/1.043, allocations: 8 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.043, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/1.043, allocations: 8 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001389/1.043, allocations: 5.062 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/1.044, allocations: 129.1 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/1.044, allocations: 0.6767 MB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/1.044, allocations: 11.44 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of SimCode: time 1.91e-07/1.044, allocations: 0 / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of Templates: time 0.002605/1.047, allocations: 0.696 MB / 1.174 GB, free: 12.89 MB / 0.9044 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/jenkins1/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