Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 192.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.203/2.203, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.91 kB / 0.8689 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4564/0.4576, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00204/0.4597, allocations: 1.512 MB / 1.018 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.4608, allocations: 0.8968 MB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.4608, allocations: 4 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.461, allocations: 11.92 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004215/0.4614, allocations: 127.3 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.4616, allocations: 95.83 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.896e-05/0.4617, allocations: 67.81 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.245e-05/0.4617, allocations: 4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.541e-05/0.4618, allocations: 35.91 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.563e-05/0.4619, allocations: 47.69 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.4619, allocations: 4 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.4622, allocations: 235.6 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.4623, allocations: 59.81 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.4623, allocations: 51.61 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.4626, allocations: 285.5 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.4626, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4626, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.4626, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 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.0005472/0.4632, allocations: 498.4 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.4632, allocations: 12.03 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.793e-05/0.4632, allocations: 38.73 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.4633, allocations: 20.66 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004687/0.4637, allocations: 0.6433 MB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.4638, allocations: 12.31 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4638, allocations: 3.938 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.4639, allocations: 73.66 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-06/0.4639, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.464, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.464, allocations: 3.938 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.4641, allocations: 79.88 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.4644, allocations: 329.6 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.4646, allocations: 118.4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.265e-05/0.4647, allocations: 48.88 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/0.4648, allocations: 15.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.4648, allocations: 30.56 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.4648, allocations: 4 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003474/0.4651, allocations: 165.4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.4652, allocations: 55.39 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005526/0.4657, allocations: 0.7742 MB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.4657, allocations: 25.7 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.874e-05/0.4658, allocations: 128.1 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.4658, allocations: 19.81 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.4659, allocations: 13.72 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.085e-05/0.466, allocations: 330.8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.4661, allocations: 39.97 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.791e-05/0.4662, allocations: 58.53 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.4663, allocations: 92.83 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4663, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002093/0.4666, allocations: 125.7 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.4666, allocations: 11.98 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.4666, allocations: 0 / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.4666, allocations: 3.938 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.854e-05/0.4667, allocations: 8.047 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.4667, allocations: 4 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.172e-05/0.4668, allocations: 19.97 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.4668, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 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.92e-05/0.4669, allocations: 130.3 kB / 1.024 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.4669, allocations: 15.81 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.4671, allocations: 138.9 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4671, allocations: 4 kB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.4672, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4672, allocations: 0 / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.4673, allocations: 233.5 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4673, allocations: 0 / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.914e-05/0.4674, allocations: 23.86 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4674, allocations: 0 / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.4674, allocations: 0 / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4674, allocations: 0 / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4674, allocations: 0 / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.4676, allocations: 168.7 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.4677, allocations: 100.9 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.4677, allocations: 0 / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.356e-05/0.4678, allocations: 7.984 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.4678, allocations: 4 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.4678, allocations: 4 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004195/0.4683, allocations: 0.6214 MB / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4683, allocations: 0 / 1.025 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002535/0.4685, allocations: 75.98 kB / 1.025 GB, free: 9.656 MB / 0.7794 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.0005734/0.4691, allocations: 0.7371 MB / 1.026 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.4693, allocations: 95.92 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4693, allocations: 0 / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.869e-05/0.4694, allocations: 43.91 kB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.4696, allocations: 17.25 kB / 1.026 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.4723, allocations: 3.319 MB / 1.03 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.4725, allocations: 0.724 MB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.022e-05/0.4726, allocations: 25 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.934e-05/0.4727, allocations: 55.41 kB / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of SimCode: time 1.533e-06/0.4727, allocations: 0 / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.026/2.499, allocations: 4.418 MB / 1.035 GB, free: 280 kB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/2.499, allocations: 231.2 kB / 1.035 GB, free: 16 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/4.079, allocations: 0 / 1.035 GB, free: 16 kB / 0.7794 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches