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.001237/0.001237, allocations: 108 kB / 15.61 MB, free: 152 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.0012/0.0012, allocations: 198.7 kB / 16.54 MB, free: 6.664 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.184/1.184, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.064/2.064, allocations: 390.2 MB / 0.6647 GB, free: 412 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4862/0.4875, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002063/0.4895, allocations: 1.437 MB / 0.9511 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009978/0.4906, allocations: 0.892 MB / 0.952 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.4906, allocations: 3.938 kB / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.4907, allocations: 2.281 kB / 0.952 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004051/0.4911, allocations: 137.9 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.4913, allocations: 102.9 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.549e-05/0.4914, allocations: 62.52 kB / 0.9523 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.4914, allocations: 10.42 kB / 0.9523 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.037e-05/0.4915, allocations: 37.31 kB / 0.9523 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.4916, allocations: 50.39 kB / 0.9524 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.4916, allocations: 3.656 kB / 0.9524 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.4919, allocations: 228.2 kB / 0.9526 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.492, allocations: 56.08 kB / 0.9527 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.492, allocations: 63.02 kB / 0.9527 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.4923, allocations: 277.5 kB / 0.953 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.4923, allocations: 0 / 0.953 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4923, allocations: 0 / 0.953 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.4923, allocations: 5.438 kB / 0.953 GB, free: 6.777 MB / 0.7169 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.0004906/0.4928, allocations: 0.493 MB / 0.9535 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.4929, allocations: 13.09 kB / 0.9535 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.866e-05/0.4929, allocations: 30.75 kB / 0.9535 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.4929, allocations: 21.42 kB / 0.9535 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.4934, allocations: 0.6483 MB / 0.9542 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-06/0.4934, allocations: 5.594 kB / 0.9542 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.4934, allocations: 6.312 kB / 0.9542 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/0.4936, allocations: 72.09 kB / 0.9542 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.4936, allocations: 0 / 0.9542 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.513e-06/0.4936, allocations: 0 / 0.9542 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.4936, allocations: 1.188 kB / 0.9542 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.4938, allocations: 85.06 kB / 0.9543 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.494, allocations: 319.8 kB / 0.9546 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.4942, allocations: 118.1 kB / 0.9547 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.556e-05/0.4943, allocations: 47.94 kB / 0.9548 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.4943, allocations: 22.84 kB / 0.9548 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.101e-05/0.4944, allocations: 36.59 kB / 0.9548 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.4944, allocations: 0 / 0.9548 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003436/0.4947, allocations: 166.3 kB / 0.955 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.654e-05/0.4947, allocations: 55.39 kB / 0.9551 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.4952, allocations: 0.7771 MB / 0.9558 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.4952, allocations: 29.7 kB / 0.9558 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.4953, allocations: 126.8 kB / 0.956 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.4953, allocations: 5.25 kB / 0.956 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.4954, allocations: 17.53 kB / 0.956 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.127e-05/0.4954, allocations: 332.8 kB / 0.9563 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.4955, allocations: 36 kB / 0.9563 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.4956, allocations: 67 kB / 0.9564 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.4958, allocations: 83.52 kB / 0.9565 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4958, allocations: 0 / 0.9565 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000222/0.496, allocations: 139.4 kB / 0.9566 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.496, allocations: 5.469 kB / 0.9566 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.496, allocations: 12 kB / 0.9566 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.4961, allocations: 3.984 kB / 0.9566 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.949e-05/0.4961, allocations: 8.344 kB / 0.9566 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.4961, allocations: 0 / 0.9566 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.322e-05/0.4962, allocations: 12.45 kB / 0.9567 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.4962, allocations: 0.9688 kB / 0.9567 GB, free: 4.25 MB / 0.7169 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 6.253e-05/0.4963, allocations: 136.1 kB / 0.9568 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.4963, allocations: 15.69 kB / 0.9568 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.4966, allocations: 144.6 kB / 0.9569 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4966, allocations: 5.094 kB / 0.9569 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.4966, allocations: 0 / 0.9569 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.4966, allocations: 1.062 kB / 0.9569 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.4967, allocations: 234.9 kB / 0.9572 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.4967, allocations: 1.062 kB / 0.9572 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.4968, allocations: 10.86 kB / 0.9572 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4968, allocations: 1.062 kB / 0.9572 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.4968, allocations: 4 kB / 0.9572 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4968, allocations: 0.9062 kB / 0.9572 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4968, allocations: 0 / 0.9572 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.4971, allocations: 163.4 kB / 0.9573 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.4971, allocations: 101.1 kB / 0.9574 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.4971, allocations: 1.156 kB / 0.9574 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.4972, allocations: 12.11 kB / 0.9575 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.4972, allocations: 2.156 kB / 0.9575 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4972, allocations: 4.875 kB / 0.9575 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004097/0.4977, allocations: 0.6172 MB / 0.9581 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.4977, allocations: 1.312 kB / 0.9581 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002762/0.4979, allocations: 75.36 kB / 0.9581 GB, free: 3.266 MB / 0.7169 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.0004934/0.4984, allocations: 0.7424 MB / 0.9589 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.4987, allocations: 89.77 kB / 0.9589 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.4987, allocations: 0 / 0.9589 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.4988, allocations: 44.53 kB / 0.959 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.499, allocations: 22.56 kB / 0.959 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.5015, allocations: 3.293 MB / 0.9622 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.5017, allocations: 0.728 MB / 0.9629 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.246e-05/0.5017, allocations: 31.81 kB / 0.963 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.5018, allocations: 51.31 kB / 0.963 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.5018, allocations: 0 / 0.963 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01891/0.5207, allocations: 4.545 MB / 0.9675 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.547/7.068, allocations: 15.22 kB / 0.9675 GB, free: 13.72 MB / 0.7325 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