Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile,fileNamePrefix="Buildings_9_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.006853/0.006853, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.001742/0.001742, allocations: 189.2 kB / 16.67 MB, free: 5.422 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.1/2.1, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6503, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.00224/0.6526, allocations: 1.439 MB / 1.089 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.6538, allocations: 0.8895 MB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.6538, allocations: 0 / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.654, allocations: 9 kB / 1.09 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.6545, allocations: 134.6 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.6547, allocations: 109.9 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.49e-05/0.6548, allocations: 56.33 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.6548, allocations: 7.781 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.6549, allocations: 38.86 kB / 1.09 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.655, allocations: 44.89 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.655, allocations: 4.031 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.6554, allocations: 231 kB / 1.09 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.6555, allocations: 60.05 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.896e-05/0.6556, allocations: 57.17 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003493/0.6559, allocations: 283 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6559, allocations: 7.938 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6559, allocations: 1.094 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.6559, allocations: 0 / 1.091 GB, free: 3.34 MB / 0.8575 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.0005836/0.6565, allocations: 0.4973 MB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.6566, allocations: 10.2 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.072e-05/0.6566, allocations: 32.11 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.6566, allocations: 20.66 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.6572, allocations: 0.6513 MB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.336e-06/0.6573, allocations: 9.438 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.6573, allocations: 1.438 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.6575, allocations: 70.89 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.6575, allocations: 0.8438 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.6575, allocations: 0 / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6575, allocations: 0.7812 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002352/0.6577, allocations: 82.53 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.6581, allocations: 326.6 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.6583, allocations: 116 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.6585, allocations: 47.5 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.669e-05/0.6585, allocations: 15.66 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.6585, allocations: 31.78 kB / 1.093 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.6585, allocations: 4 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004481/0.659, allocations: 174.6 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.659, allocations: 52.83 kB / 1.093 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008187/0.6599, allocations: 0.7723 MB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.6599, allocations: 27.02 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.6599, allocations: 126.3 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.66, allocations: 18 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.66, allocations: 15.06 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.664e-05/0.6601, allocations: 330.5 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.6602, allocations: 42.14 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.6603, allocations: 60.31 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.6605, allocations: 92.41 kB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6606, allocations: 3.938 kB / 1.094 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002626/0.6608, allocations: 130.4 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.6608, allocations: 4.812 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.6608, allocations: 1.125 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.6609, allocations: 1.078 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.6609, allocations: 13.52 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.661, allocations: 1.219 kB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.6611, allocations: 13.98 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.6611, allocations: 1.188 kB / 1.094 GB, free: 1.168 MB / 0.8575 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.637e-05/0.6612, allocations: 135.9 kB / 1.095 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.6612, allocations: 19.12 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002956/0.6615, allocations: 148.7 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6615, allocations: 0.75 kB / 1.095 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6615, allocations: 5.188 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.6615, allocations: 0 / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.6617, allocations: 230.7 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.6617, allocations: 0 / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.6618, allocations: 11.41 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.6618, allocations: 1 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.6618, allocations: 4 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6618, allocations: 0.75 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6618, allocations: 4 kB / 1.095 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.6621, allocations: 159.1 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.6621, allocations: 103.1 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.6622, allocations: 1.328 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.6623, allocations: 7.609 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.6623, allocations: 6.031 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.6623, allocations: 2.109 kB / 1.095 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005755/0.6629, allocations: 0.619 MB / 1.096 GB, free: 356 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6629, allocations: 0 / 1.096 GB, free: 356 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003524/0.6632, allocations: 75.55 kB / 1.096 GB, free: 344 kB / 0.8575 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.000664/0.6639, allocations: 0.7454 MB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.6642, allocations: 99.7 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6642, allocations: 0 / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.6643, allocations: 41.17 kB / 1.097 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.6646, allocations: 18.02 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/0.6681, allocations: 3.305 MB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.6684, allocations: 0.7232 MB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.712e-05/0.6684, allocations: 24.48 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.6685, allocations: 53 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.6685, allocations: 5.406 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.6878, allocations: 4.576 MB / 1.105 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.126/7.814, allocations: 21.91 kB / 1.105 GB, free: 12.84 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureProfile.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches