Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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.001907/0.001907, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.002125/0.002125, allocations: 157.6 kB / 23.01 MB, free: 4.941 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.814/2.814, allocations: 394.2 MB / 0.6387 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 177] 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.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CpAct",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|CpAct",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile") [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.00217/0.00217, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.846/0.8482, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002197/0.8504, allocations: 1.479 MB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.8517, allocations: 0.8638 MB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.8518, allocations: 0 / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.8519, allocations: 9.531 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005393/0.8524, allocations: 142.8 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.8527, allocations: 97.59 kB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.8528, allocations: 69.77 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.565e-05/0.8528, allocations: 3.359 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.8529, allocations: 50.2 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.853, allocations: 38.48 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.8531, allocations: 3.719 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.8535, allocations: 247.2 kB / 1.19 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.055e-05/0.8536, allocations: 60 kB / 1.19 GB, free: 14.44 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.8536, allocations: 39.89 kB / 1.19 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.854, allocations: 258.7 kB / 1.19 GB, free: 14.34 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.854, allocations: 1.219 kB / 1.19 GB, free: 14.34 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.312e-06/0.854, allocations: 0 / 1.19 GB, free: 14.34 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.854, allocations: 0 / 1.19 GB, free: 14.34 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005261/0.8545, allocations: 391.3 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.8546, allocations: 9.312 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.8546, allocations: 16.09 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.8548, allocations: 217.7 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.8548, allocations: 1.938 kB / 1.19 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.8548, allocations: 14.38 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.855, allocations: 66.97 kB / 1.191 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-06/0.855, allocations: 0 / 1.191 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.855, allocations: 5.562 kB / 1.191 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.855, allocations: 0.6562 kB / 1.191 GB, free: 13.78 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.8552, allocations: 78.31 kB / 1.191 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.8554, allocations: 170.8 kB / 1.191 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.8557, allocations: 120.1 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.8558, allocations: 46.72 kB / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.8558, allocations: 20.23 kB / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.196e-05/0.8558, allocations: 31.91 kB / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8558, allocations: 0 / 1.191 GB, free: 13.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0004062/0.8562, allocations: 177.6 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.8563, allocations: 56.56 kB / 1.191 GB, free: 13.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.8565, allocations: 299.3 kB / 1.192 GB, free: 13.28 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.8565, allocations: 27.48 kB / 1.192 GB, free: 13.25 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.8566, allocations: 116.5 kB / 1.192 GB, free: 13.14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.8566, allocations: 9.625 kB / 1.192 GB, free: 13.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.8566, allocations: 23.34 kB / 1.192 GB, free: 13.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.8567, allocations: 328.2 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.8568, allocations: 37.41 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.8569, allocations: 117.5 kB / 1.192 GB, free: 12.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.8571, allocations: 84.27 kB / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8571, allocations: 0 / 1.192 GB, free: 12.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002581/0.8574, allocations: 133.1 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.8574, allocations: 5.188 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.8574, allocations: 1.094 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.8574, allocations: 0 / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.8575, allocations: 18.16 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.8575, allocations: 1.344 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.8576, allocations: 8.359 kB / 1.192 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.8576, allocations: 1.062 kB / 1.192 GB, free: 12.62 MB / 1.076 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 (3): * Single equations (assignments): 3 * 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 7.03e-05/0.8576, allocations: 131.8 kB / 1.193 GB, free: 12.51 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/0.8577, allocations: 18.12 kB / 1.193 GB, free: 12.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.8579, allocations: 130.8 kB / 1.193 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.8579, allocations: 0.875 kB / 1.193 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.858, allocations: 4.969 kB / 1.193 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.858, allocations: 0.7969 kB / 1.193 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.8581, allocations: 167.2 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.8581, allocations: 5.938 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.8581, allocations: 13.81 kB / 1.193 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8581, allocations: 5 kB / 1.193 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.8581, allocations: 0 / 1.193 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8581, allocations: 1.75 kB / 1.193 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8581, allocations: 0 / 1.193 GB, free: 12.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.8584, allocations: 154.3 kB / 1.193 GB, free: 12.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.8584, allocations: 20.69 kB / 1.193 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.8585, allocations: 0.75 kB / 1.193 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.8585, allocations: 6.609 kB / 1.193 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.8586, allocations: 7.109 kB / 1.193 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.8586, allocations: 1.094 kB / 1.193 GB, free: 12.18 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001817/0.8587, allocations: 229.4 kB / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8587, allocations: 0 / 1.193 GB, free: 12.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003188/0.8591, allocations: 68.25 kB / 1.193 GB, free: 12.06 MB / 1.076 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 (3): * Single equations (assignments): 3 * 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.0002275/0.8593, allocations: 159.2 kB / 1.193 GB, free: 11.95 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.8596, allocations: 93.03 kB / 1.194 GB, free: 11.94 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.8596, allocations: 0 / 1.194 GB, free: 11.94 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.8597, allocations: 44.61 kB / 1.194 GB, free: 11.94 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.8599, allocations: 8.922 kB / 1.194 GB, free: 11.93 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/0.8603, allocations: 323.8 kB / 1.194 GB, free: 11.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.401e-05/0.8604, allocations: 111.3 kB / 1.194 GB, free: 11.66 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.558e-05/0.8605, allocations: 22.31 kB / 1.194 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.8605, allocations: 13.78 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.8605, allocations: 1.312 kB / 1.194 GB, free: 11.64 MB / 1.076 GB Notification: Performance of Templates: time 0.005853/0.8663, allocations: 2.147 MB / 1.196 GB, free: 11.43 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.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: 8.816874708049]