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.0007646/0.0007646, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008146/0.0008146, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8547/0.8547, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.661/1.661, allocations: 377.8 MB / 0.6221 GB, free: 8.629 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.331e-05, allocations: 2.281 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002004/0.002027, allocations: 1.464 MB / 0.9824 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003086, allocations: 0.8801 MB / 0.9832 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.994e-05/0.003125, allocations: 0 / 0.9832 GB, free: 244 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.003255, allocations: 7.922 kB / 0.9833 GB, free: 236 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.003707, allocations: 131.6 kB / 0.9834 GB, free: 104 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001698/0.003877, allocations: 119 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 8.494e-05/0.003962, allocations: 59.84 kB / 0.9836 GB, free: 15.93 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.004, allocations: 11.97 kB / 0.9836 GB, free: 15.91 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.004121, allocations: 43.84 kB / 0.9836 GB, free: 15.87 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.146e-05/0.004213, allocations: 43.88 kB / 0.9836 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.004226, allocations: 4 kB / 0.9837 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.004506, allocations: 247.6 kB / 0.9839 GB, free: 15.58 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.004572, allocations: 63.83 kB / 0.9839 GB, free: 15.52 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.004608, allocations: 35.86 kB / 0.984 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.004884, allocations: 315.1 kB / 0.9843 GB, free: 15.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004886, allocations: 0 / 0.9843 GB, free: 15.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.12e-07/0.004887, allocations: 0 / 0.9843 GB, free: 15.18 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.004891, allocations: 0 / 0.9843 GB, free: 15.18 MB / 0.948 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.0004852/0.005376, allocations: 448.8 kB / 0.9847 GB, free: 14.71 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.005407, allocations: 8.031 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.00544, allocations: 30.75 kB / 0.9847 GB, free: 14.66 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.005471, allocations: 20.84 kB / 0.9848 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.00586, allocations: 0.5945 MB / 0.9853 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.005869, allocations: 8.312 kB / 0.9854 GB, free: 14.01 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-06/0.005878, allocations: 4.375 kB / 0.9854 GB, free: 14.01 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.005992, allocations: 77.59 kB / 0.9854 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.005998, allocations: 0 / 0.9854 GB, free: 13.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.006006, allocations: 4 kB / 0.9854 GB, free: 13.92 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.00601, allocations: 3.938 kB / 0.9854 GB, free: 13.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.006118, allocations: 79.94 kB / 0.9855 GB, free: 13.84 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.006331, allocations: 284.7 kB / 0.9858 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.0065, allocations: 118.5 kB / 0.9859 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.006562, allocations: 48.83 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.006596, allocations: 19.92 kB / 0.986 GB, free: 13.32 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.006611, allocations: 30.56 kB / 0.986 GB, free: 13.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.006611, allocations: 3.938 kB / 0.986 GB, free: 13.28 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002422/0.006854, allocations: 173.5 kB / 0.9862 GB, free: 13.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.006879, allocations: 55.41 kB / 0.9862 GB, free: 13.04 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004546/0.007334, allocations: 0.7751 MB / 0.987 GB, free: 12.26 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.007345, allocations: 25.7 kB / 0.987 GB, free: 12.23 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.982e-05/0.007405, allocations: 128.1 kB / 0.9871 GB, free: 12.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.007425, allocations: 11.89 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.007451, allocations: 21.64 kB / 0.9872 GB, free: 12.06 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.624e-05/0.007527, allocations: 326.8 kB / 0.9875 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.00758, allocations: 43.97 kB / 0.9875 GB, free: 11.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.054e-05/0.007661, allocations: 113.9 kB / 0.9876 GB, free: 11.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.007762, allocations: 88.86 kB / 0.9877 GB, free: 11.47 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.007763, allocations: 4 kB / 0.9877 GB, free: 11.47 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001387/0.007902, allocations: 137.4 kB / 0.9878 GB, free: 11.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.007912, allocations: 4 kB / 0.9878 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.007916, allocations: 0 / 0.9878 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.007926, allocations: 4 kB / 0.9878 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.712e-05/0.007964, allocations: 11.92 kB / 0.9879 GB, free: 11.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.007968, allocations: 8 kB / 0.9879 GB, free: 11.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.296e-05/0.008021, allocations: 7.984 kB / 0.9879 GB, free: 11.29 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.008026, allocations: 4 kB / 0.9879 GB, free: 11.29 MB / 0.948 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 6.656e-05/0.008093, allocations: 125.8 kB / 0.988 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.008107, allocations: 19.84 kB / 0.988 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001581/0.008265, allocations: 135 kB / 0.9881 GB, free: 11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.008268, allocations: 3.984 kB / 0.9881 GB, free: 10.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.008272, allocations: 0 / 0.9881 GB, free: 10.99 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.008274, allocations: 4 kB / 0.9882 GB, free: 10.99 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.008384, allocations: 196.7 kB / 0.9883 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008386, allocations: 0 / 0.9883 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.008413, allocations: 15.88 kB / 0.9884 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008414, allocations: 0 / 0.9884 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.008421, allocations: 11.92 kB / 0.9884 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.008422, allocations: 0 / 0.9884 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.008423, allocations: 0 / 0.9884 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.008559, allocations: 152.9 kB / 0.9885 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.008591, allocations: 35.83 kB / 0.9885 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.008605, allocations: 0 / 0.9885 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.435e-05/0.008639, allocations: 11.98 kB / 0.9886 GB, free: 10.51 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.008668, allocations: 4 kB / 0.9886 GB, free: 10.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.008672, allocations: 4 kB / 0.9886 GB, free: 10.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003376/0.00901, allocations: 0.6182 MB / 0.9892 GB, free: 9.887 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00901, allocations: 3.938 kB / 0.9892 GB, free: 9.883 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002111/0.009221, allocations: 75.88 kB / 0.9892 GB, free: 9.809 MB / 0.948 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.000452/0.009673, allocations: 0.7644 MB / 0.99 GB, free: 9.012 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.009825, allocations: 87.92 kB / 0.9901 GB, free: 8.926 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.009827, allocations: 0 / 0.9901 GB, free: 8.926 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.419e-05/0.009881, allocations: 43.91 kB / 0.9901 GB, free: 8.883 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.01005, allocations: 12.5 kB / 0.9901 GB, free: 8.871 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.0123, allocations: 3.314 MB / 0.9934 GB, free: 5.473 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.512e-05/0.01236, allocations: 114.8 kB / 0.9935 GB, free: 5.34 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.01241, allocations: 24.62 kB / 0.9935 GB, free: 5.316 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/0.01247, allocations: 56.47 kB / 0.9936 GB, free: 5.262 MB / 0.948 GB Notification: Performance of SimCode: time 4.51e-07/0.01247, allocations: 0 / 0.9936 GB, free: 5.262 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.03026, allocations: 5.324 MB / 0.9988 GB, free: 120 kB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.638, allocations: 10.17 kB / 0.9988 GB, free: 112 kB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv --start-time 0 --stop-time 500 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins/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: 10.60857677925378]