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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00131/0.00131, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.299/2.299, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5379/0.5392, allocations: 151.6 MB / 1.017 GB, free: 2.922 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002542/0.5418, allocations: 1.508 MB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.5432, allocations: 0.9203 MB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.966e-05/0.5432, allocations: 0 / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.5434, allocations: 7.922 kB / 1.019 GB, free: 480 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.5439, allocations: 111.5 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000203/0.5441, allocations: 83.77 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.5442, allocations: 83.75 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.5443, allocations: 4 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.5444, allocations: 39.83 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.5445, allocations: 51.75 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.5445, allocations: 4 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000348/0.5449, allocations: 223.6 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.545, allocations: 55.81 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.545, allocations: 59.59 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.5454, allocations: 273.4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5454, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5454, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.5454, allocations: 0 / 1.02 GB, free: 15.5 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.0006573/0.5461, allocations: 0.4945 MB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5461, allocations: 12.03 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.5461, allocations: 30.75 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.5462, allocations: 20.66 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.5467, allocations: 0.6511 MB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-06/0.5467, allocations: 384 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.5468, allocations: 7.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.5469, allocations: 73.61 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.5469, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.547, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.547, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.5472, allocations: 79.92 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.5475, allocations: 321.5 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002419/0.5477, allocations: 122.5 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.5478, allocations: 48.83 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.5479, allocations: 15.98 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.5479, allocations: 34.56 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.5479, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004013/0.5483, allocations: 169.4 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.5484, allocations: 55.41 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.549, allocations: 0.7742 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.549, allocations: 25.7 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.5491, allocations: 124.1 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.5491, allocations: 15.8 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.5492, allocations: 17.72 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.5493, allocations: 326.8 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.5494, allocations: 47.89 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.5495, allocations: 62.67 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.5497, allocations: 88.88 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5497, allocations: 0 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002434/0.5499, allocations: 137.4 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.55, allocations: 8 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.55, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.55, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.55, allocations: 15.92 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5501, allocations: 7.922 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.788e-05/0.5502, allocations: 10.33 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.5502, allocations: 4 kB / 1.024 GB, free: 11.49 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 9.114e-05/0.5503, allocations: 138.3 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.5503, allocations: 15.81 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.5506, allocations: 142.9 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.5506, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5506, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.5506, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.5508, allocations: 233.5 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5508, allocations: 3.984 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.5509, allocations: 12 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5509, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.5509, allocations: 3.938 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.5509, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5509, allocations: 0 / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.5512, allocations: 156.8 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.5512, allocations: 104.9 kB / 1.024 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.5513, allocations: 4 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.5513, allocations: 7.984 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.5514, allocations: 4 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.5514, allocations: 0 / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005054/0.5519, allocations: 0.6136 MB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5519, allocations: 0 / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002863/0.5522, allocations: 75.98 kB / 1.025 GB, free: 9.895 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.0006648/0.5529, allocations: 0.7527 MB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.5531, allocations: 83.94 kB / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5531, allocations: 0 / 1.026 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.5532, allocations: 56.17 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.5534, allocations: 15.5 kB / 1.026 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.5565, allocations: 3.324 MB / 1.029 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.5568, allocations: 0.7243 MB / 1.03 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.742e-05/0.5568, allocations: 24.64 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.493e-05/0.5569, allocations: 51.42 kB / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.5569, allocations: 0 / 1.03 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.5706, allocations: 4.337 MB / 1.034 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.5708, allocations: 221 kB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/2.199, allocations: 0 / 1.035 GB, free: 312 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