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.001411/0.001411, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001773/0.001773, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.622/3.622, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 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.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.002123/0.002123, allocations: 64.06 kB / 1.187 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4228, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.003082/0.4259, allocations: 1.463 MB / 1.366 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.4277, allocations: 0.8737 MB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.4278, allocations: 3.938 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.4279, allocations: 4 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0006261/0.4285, allocations: 139.6 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.4288, allocations: 113.2 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.4289, allocations: 59.83 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.104e-05/0.429, allocations: 4 kB / 1.367 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.4291, allocations: 43.83 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.4292, allocations: 43.88 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.4293, allocations: 4 kB / 1.367 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004644/0.4297, allocations: 243.6 kB / 1.368 GB, free: 10.61 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.4298, allocations: 59.83 kB / 1.368 GB, free: 10.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.4299, allocations: 39.73 kB / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003948/0.4303, allocations: 263.1 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4303, allocations: 0 / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.564e-06/0.4303, allocations: 0 / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.4303, allocations: 4 kB / 1.368 GB, free: 10.25 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007267/0.431, allocations: 397.2 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.4311, allocations: 8.031 kB / 1.368 GB, free: 9.824 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.4311, allocations: 16.84 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003127/0.4314, allocations: 214.2 kB / 1.368 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4314, allocations: 4.375 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.4314, allocations: 7.938 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.4317, allocations: 73.66 kB / 1.369 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4317, allocations: 0 / 1.369 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.4317, allocations: 0 / 1.369 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.4317, allocations: 0 / 1.369 GB, free: 9.484 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.4319, allocations: 79.88 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.4322, allocations: 173.2 kB / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.4325, allocations: 130.5 kB / 1.369 GB, free: 9.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.4326, allocations: 40.83 kB / 1.369 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/0.4326, allocations: 23.92 kB / 1.369 GB, free: 9.004 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.4327, allocations: 30.56 kB / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4327, allocations: 3.938 kB / 1.369 GB, free: 8.961 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004641/0.4331, allocations: 169.4 kB / 1.369 GB, free: 8.789 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.4332, allocations: 59.41 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.4335, allocations: 295.8 kB / 1.37 GB, free: 8.418 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.4335, allocations: 25.7 kB / 1.37 GB, free: 8.387 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4336, allocations: 116.1 kB / 1.37 GB, free: 8.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.4337, allocations: 11.91 kB / 1.37 GB, free: 8.258 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.4337, allocations: 17.72 kB / 1.37 GB, free: 8.234 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4339, allocations: 330.8 kB / 1.37 GB, free: 7.902 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.434, allocations: 43.95 kB / 1.37 GB, free: 7.859 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.4341, allocations: 106 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.4344, allocations: 96.77 kB / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4344, allocations: 0 / 1.37 GB, free: 7.637 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002676/0.4346, allocations: 129.5 kB / 1.37 GB, free: 7.504 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4346, allocations: 4 kB / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4347, allocations: 0 / 1.37 GB, free: 7.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4347, allocations: 4 kB / 1.37 GB, free: 7.496 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.4347, allocations: 7.984 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4348, allocations: 8 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.827e-05/0.4348, allocations: 7.984 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.4349, allocations: 7.984 kB / 1.37 GB, free: 7.465 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 (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 0.0001258/0.435, allocations: 130.9 kB / 1.371 GB, free: 7.328 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.435, allocations: 19.84 kB / 1.371 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.4353, allocations: 138.5 kB / 1.371 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4353, allocations: 0 / 1.371 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.4353, allocations: 7.984 kB / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4353, allocations: 4 kB / 1.371 GB, free: 7.148 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.4355, allocations: 157.3 kB / 1.371 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4355, allocations: 0 / 1.371 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.334e-05/0.4356, allocations: 11.98 kB / 1.371 GB, free: 6.953 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.4356, allocations: 3.938 kB / 1.371 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.4356, allocations: 0 / 1.371 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4356, allocations: 0 / 1.371 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4356, allocations: 0 / 1.371 GB, free: 6.949 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.4359, allocations: 161.3 kB / 1.371 GB, free: 6.773 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.4359, allocations: 19.88 kB / 1.371 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.4359, allocations: 4 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.148e-05/0.436, allocations: 3.984 kB / 1.371 GB, free: 6.746 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.4361, allocations: 8 kB / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.4361, allocations: 0 / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002249/0.4363, allocations: 228.6 kB / 1.371 GB, free: 6.516 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4363, allocations: 3.938 kB / 1.371 GB, free: 6.512 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003385/0.4366, allocations: 67.88 kB / 1.371 GB, free: 6.445 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 (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.0003017/0.4369, allocations: 155.1 kB / 1.371 GB, free: 6.281 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002908/0.4372, allocations: 87.92 kB / 1.372 GB, free: 6.195 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4372, allocations: 0 / 1.372 GB, free: 6.195 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.4373, allocations: 47.91 kB / 1.372 GB, free: 6.148 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.4376, allocations: 11.72 kB / 1.372 GB, free: 6.137 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006233/0.4382, allocations: 323.5 kB / 1.372 GB, free: 5.793 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.4383, allocations: 101.8 kB / 1.372 GB, free: 5.672 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/0.4384, allocations: 15.44 kB / 1.372 GB, free: 5.656 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4384, allocations: 0 / 1.372 GB, free: 5.656 MB / 1.061 GB Notification: Performance of Templates: time 0.004757/0.4431, allocations: 2.217 MB / 1.374 GB, free: 3.453 MB / 1.061 GB " [Timeout remaining time 300] 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 -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: 12.68398901866749]