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.001689/0.001689, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002651/0.002651, allocations: 217.9 kB / 23.03 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.325/3.325, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="cs",version="2.0",platforms={"static"}) [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.003026/0.003026, allocations: 69.95 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3703, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002843/0.3731, allocations: 1.465 MB / 1.328 GB, free: 4 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.3748, allocations: 0.8687 MB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.3748, allocations: 0 / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.3749, allocations: 7.984 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005499/0.3755, allocations: 146.7 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.3757, allocations: 119.8 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3759, allocations: 51.84 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.3759, allocations: 7.984 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.376, allocations: 43.84 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3762, allocations: 47.88 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.3762, allocations: 4 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.3766, allocations: 251.6 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.653e-05/0.3767, allocations: 63.8 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.3768, allocations: 47.67 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.3772, allocations: 283 kB / 1.33 GB, free: 14.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.3772, allocations: 7.984 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3772, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.3772, allocations: 0 / 1.33 GB, free: 14.07 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.0007907/0.378, allocations: 440.9 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.378, allocations: 8.031 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.022e-05/0.378, allocations: 8.125 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.3781, allocations: 34.75 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.3781, allocations: 16.84 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007759/0.3789, allocations: 0.5909 MB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.3789, allocations: 11.94 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3789, allocations: 0 / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.3791, allocations: 77.59 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3791, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.3791, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3791, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.3793, allocations: 87.92 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.3797, allocations: 288.6 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.38, allocations: 110.5 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3801, allocations: 44.89 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.3801, allocations: 19.92 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3802, allocations: 38.5 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.3802, allocations: 0 / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004375/0.3806, allocations: 169.5 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3806, allocations: 55.41 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008031/0.3814, allocations: 0.7743 MB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.3815, allocations: 25.7 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.808e-05/0.3816, allocations: 132.1 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.3816, allocations: 15.89 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.3816, allocations: 13.72 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3818, allocations: 330.8 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.3819, allocations: 43.97 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.3821, allocations: 117.9 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.3823, allocations: 88.73 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3823, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002638/0.3825, allocations: 125.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3825, allocations: 8 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3825, allocations: 4.031 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3826, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.965e-05/0.3826, allocations: 12.03 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.3826, allocations: 0 / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3827, allocations: 15.97 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.3827, allocations: 4 kB / 1.333 GB, free: 10.19 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.0001162/0.3829, allocations: 134.2 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.3829, allocations: 19.86 kB / 1.334 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.3832, allocations: 143 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3832, allocations: 0 / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3832, allocations: 3.938 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3832, allocations: 0 / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.3834, allocations: 196.6 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3834, allocations: 0 / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.3835, allocations: 11.98 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3835, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.3835, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3835, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3835, allocations: 4 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.3838, allocations: 164.8 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.3838, allocations: 35.78 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.3839, allocations: 4 kB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.3839, allocations: 7.984 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.384, allocations: 4 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.384, allocations: 4 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005887/0.3846, allocations: 0.6174 MB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3846, allocations: 4 kB / 1.335 GB, free: 8.766 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000305/0.3849, allocations: 67.94 kB / 1.335 GB, free: 8.699 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.0007973/0.3857, allocations: 0.7449 MB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002608/0.3859, allocations: 83.92 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3859, allocations: 8 kB / 1.336 GB, free: 7.836 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.386, allocations: 39.97 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.3863, allocations: 16.5 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003707/0.39, allocations: 3.323 MB / 1.339 GB, free: 4.371 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3901, allocations: 110.6 kB / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.519e-05/0.3902, allocations: 24.61 kB / 1.339 GB, free: 4.223 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.3903, allocations: 51.41 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3903, allocations: 0 / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.4169, allocations: 4.853 MB / 1.344 GB, free: 15.52 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.91, allocations: 10.38 kB / 1.344 GB, free: 15.51 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) [Timeout 420.0] 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: 18.98139817197807]