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.001318/0.001318, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.382/2.382, allocations: 437.1 MB / 0.7104 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 67.91 kB / 0.8694 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5279/0.5302, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.003062/0.5333, allocations: 1.449 MB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.5347, allocations: 0.8889 MB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.771e-05/0.5348, allocations: 4 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.535, allocations: 11.94 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0005384/0.5355, allocations: 131.5 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.5358, allocations: 95.77 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.885e-05/0.5359, allocations: 71.75 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.5359, allocations: 12 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.536, allocations: 35.89 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.917e-05/0.5361, allocations: 43.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.5362, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003562/0.5365, allocations: 231.6 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.5366, allocations: 59.81 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.5367, allocations: 59.58 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.537, allocations: 277.5 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5371, allocations: 4 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5371, allocations: 4 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.5371, allocations: 0 / 1.021 GB, free: 15.08 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.0006774/0.5378, allocations: 0.4906 MB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.5378, allocations: 12.03 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.742e-05/0.5378, allocations: 30.75 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.5379, allocations: 20.66 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.5385, allocations: 0.6472 MB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.5385, allocations: 16.3 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.5385, allocations: 7.938 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.5387, allocations: 69.66 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.5387, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.5387, allocations: 4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.5387, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.5389, allocations: 79.88 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.5392, allocations: 329.5 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.5395, allocations: 118.4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.5396, allocations: 48.88 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.5396, allocations: 12 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5397, allocations: 34.55 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5397, allocations: 4 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003956/0.5401, allocations: 165.4 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.5401, allocations: 51.41 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006237/0.5408, allocations: 0.7742 MB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.5408, allocations: 25.7 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.5409, allocations: 132.1 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.5409, allocations: 19.75 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.5409, allocations: 17.72 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.541, allocations: 326.8 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.5411, allocations: 39.97 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.5413, allocations: 58.55 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.5415, allocations: 92.81 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5415, allocations: 0 / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002489/0.5417, allocations: 129.4 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.5418, allocations: 10.03 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.5418, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5418, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/0.5419, allocations: 15.92 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.5419, allocations: 0 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.542, allocations: 19.98 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.542, allocations: 0 / 1.024 GB, free: 11.07 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 8.964e-05/0.5421, allocations: 129.8 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.5421, allocations: 20.14 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.5424, allocations: 138.8 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5424, allocations: 0 / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.5424, allocations: 4 kB / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.5424, allocations: 0 / 1.025 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.5426, allocations: 237.5 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5426, allocations: 0 / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.414e-05/0.5427, allocations: 15.92 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5427, allocations: 0 / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.5427, allocations: 3.938 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5427, allocations: 0 / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5427, allocations: 0 / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.543, allocations: 168.7 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.5431, allocations: 96.91 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.5431, allocations: 4 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.5432, allocations: 7.984 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.5432, allocations: 4 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.5432, allocations: 0 / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004845/0.5437, allocations: 0.6174 MB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5437, allocations: 4 kB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003053/0.544, allocations: 68 kB / 1.026 GB, free: 9.473 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.0006818/0.5447, allocations: 0.7488 MB / 1.027 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.545, allocations: 91.92 kB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.545, allocations: 0 / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.5451, allocations: 47.91 kB / 1.027 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.5453, allocations: 13.06 kB / 1.027 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.5485, allocations: 3.299 MB / 1.03 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.5488, allocations: 0.724 MB / 1.031 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.424e-05/0.5489, allocations: 25 kB / 1.031 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.549, allocations: 51.42 kB / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.549, allocations: 0 / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.5697, allocations: 4.554 MB / 1.035 GB, free: 15.92 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.222/7.792, allocations: 6.062 kB / 1.035 GB, free: 15.92 MB / 0.795 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 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.csv","/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