Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.WindPressureLowRise,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",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.009939/0.009939, allocations: 98.56 kB / 15.73 MB, free: 6.059 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.002305/0.002305, allocations: 196 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.705/2.705, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 5.39/5.39, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003221/0.003222, allocations: 68.11 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5329/0.5362, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.003835/0.5401, allocations: 1.222 MB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006178/0.5464, allocations: 0.7108 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.485e-05/0.5465, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.5465, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.5468, allocations: 7.922 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.5473, allocations: 99.59 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.493e-05/0.5473, allocations: 11.98 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.5474, allocations: 3.984 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.5475, allocations: 7.938 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.5476, allocations: 4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.5476, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004352/0.5481, allocations: 139.8 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.5481, allocations: 7.922 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.5481, allocations: 4 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.5484, allocations: 75.77 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5484, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.38e-06/0.5484, allocations: 4 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.5485, allocations: 3.938 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005387/0.549, allocations: 327.4 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.5491, allocations: 8.031 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.485e-05/0.5491, allocations: 34.75 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.5492, allocations: 8.938 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.5494, allocations: 164.4 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.5494, allocations: 8.125 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.5494, allocations: 0 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.5495, allocations: 29.7 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.5496, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.5496, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5496, allocations: 0 / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.617e-05/0.5496, allocations: 11.92 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.5499, allocations: 153.7 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.55, allocations: 30.53 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.5501, allocations: 12.91 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/0.5508, allocations: 409.5 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.5508, allocations: 30.56 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/0.5508, allocations: 7.938 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002054/0.551, allocations: 49.58 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.5511, allocations: 51.41 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.5512, allocations: 93.86 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.5513, allocations: 25.7 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.65e-05/0.5513, allocations: 84.14 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.5514, allocations: 11.94 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.5514, allocations: 17.95 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.5516, allocations: 310.8 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.464e-05/0.5517, allocations: 8 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.34e-05/0.5517, allocations: 0 / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/0.5518, allocations: 12.86 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5518, allocations: 3.938 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001065/0.5519, allocations: 45.62 kB / 1.224 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5519, allocations: 4 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.5519, allocations: 4.094 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.552, allocations: 3.938 kB / 1.224 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.552, allocations: 4 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5521, allocations: 0 / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.5521, allocations: 0 / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.5521, allocations: 4 kB / 1.224 GB, free: 9.742 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.0001182/0.5522, allocations: 109.8 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.5523, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.5524, allocations: 52.75 kB / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5524, allocations: 0 / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5524, allocations: 4 kB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5525, allocations: 0 / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.5526, allocations: 157.5 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5527, allocations: 0 / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.5527, allocations: 4 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5527, allocations: 0 / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.5527, allocations: 4 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5527, allocations: 0 / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5527, allocations: 0 / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/0.557, allocations: 69.09 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.007e-05/0.5571, allocations: 77.11 kB / 1.225 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.5571, allocations: 4 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.894e-05/0.5572, allocations: 4 kB / 1.225 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.5572, allocations: 7.922 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.5573, allocations: 0 / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.082e-05/0.5573, allocations: 87.31 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.8e-07/0.5574, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000454/0.5578, allocations: 23.88 kB / 1.225 GB, free: 9.051 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.0008691/0.5587, allocations: 0.6245 MB / 1.225 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.5589, allocations: 24.05 kB / 1.225 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5589, allocations: 0 / 1.225 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.5589, allocations: 4 kB / 1.225 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.5592, allocations: 2.031 kB / 1.225 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.5598, allocations: 130.9 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.5603, allocations: 0.6729 MB / 1.226 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.5604, allocations: 4 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.5604, allocations: 11.42 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.5605, allocations: 128 / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08066/0.6411, allocations: 1.528 MB / 1.228 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.1, allocations: 3.859 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches