Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001716/0.001716, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002048/0.002048, allocations: 211.2 kB / 22.99 MB, free: 4.984 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.131/3.131, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002042/0.002042, allocations: 62.28 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2788, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00261/0.2814, allocations: 1.465 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.2829, allocations: 0.8649 MB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.2829, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.2831, allocations: 7.922 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005185/0.2836, allocations: 136.9 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.2838, allocations: 118.6 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2839, allocations: 67.77 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.284, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.2841, allocations: 51.83 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.2842, allocations: 43.89 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.2843, allocations: 4 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.2847, allocations: 251.6 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.919e-05/0.2848, allocations: 59.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.178e-05/0.2848, allocations: 35.8 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.2852, allocations: 263 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2852, allocations: 3.984 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2852, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2852, allocations: 4 kB / 1.33 GB, free: 13.63 MB / 1.029 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.0006635/0.2859, allocations: 401.1 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.2859, allocations: 8.031 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.766e-05/0.2859, allocations: 16.84 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.2862, allocations: 211 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.2862, allocations: 384 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.2862, allocations: 3.938 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.2864, allocations: 73.66 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.2864, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.2864, allocations: 4 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.2864, allocations: 0 / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.2867, allocations: 87.86 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002242/0.2869, allocations: 177.2 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.2871, allocations: 110.5 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.2873, allocations: 44.89 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.432e-05/0.2873, allocations: 19.92 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.2873, allocations: 38.56 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2873, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004373/0.2878, allocations: 173.4 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.2878, allocations: 51.41 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.2881, allocations: 295.1 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.2881, allocations: 29.64 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.2882, allocations: 124.1 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.2882, allocations: 7.938 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.2883, allocations: 17.72 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.2884, allocations: 334.8 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.2886, allocations: 39.97 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.2887, allocations: 113.9 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.2889, allocations: 84.8 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2889, allocations: 0 / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002746/0.2892, allocations: 141.4 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.2892, allocations: 5.562 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.2892, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.2892, allocations: 0 / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.251e-05/0.2893, allocations: 11.98 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.2893, allocations: 0 / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.722e-05/0.2894, allocations: 8 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.2894, allocations: 4 kB / 1.333 GB, free: 10.86 MB / 1.029 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.0001069/0.2895, allocations: 129.8 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.2895, allocations: 19.84 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.2898, allocations: 142.5 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.2898, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.2899, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.2899, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.29, allocations: 153.3 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.29, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.2901, allocations: 11.98 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.2901, allocations: 7.938 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2901, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.2901, allocations: 7.984 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2901, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.2904, allocations: 152.9 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.2904, allocations: 23.83 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.2904, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.2905, allocations: 8 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.2905, allocations: 4.406 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.2905, allocations: 8 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002155/0.2908, allocations: 224.5 kB / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2908, allocations: 0 / 1.334 GB, free: 9.902 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003028/0.2911, allocations: 75.86 kB / 1.334 GB, free: 9.828 MB / 1.029 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.0002734/0.2913, allocations: 155.1 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.2916, allocations: 87.92 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2916, allocations: 0 / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/0.2917, allocations: 55.89 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.2919, allocations: 16.61 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005035/0.2924, allocations: 318.9 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2925, allocations: 106.1 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.736e-05/0.2926, allocations: 20.48 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.2926, allocations: 15.42 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.2926, allocations: 0 / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of Templates: time 0.005669/0.2983, allocations: 2.321 MB / 1.337 GB, free: 6.699 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.370215918999747]