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.009177/0.009177, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002181/0.002181, allocations: 202.1 kB / 16.68 MB, free: 5.969 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.516/2.516, allocations: 222.9 MB / 240.4 MB, free: 4.344 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 4.713/4.713, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00307/0.00307, allocations: 63.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4929, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.004439/0.4974, allocations: 1.445 MB / 1.168 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.4997, allocations: 0.8929 MB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.4998, allocations: 0 / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.5, allocations: 11.91 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007855/0.5008, allocations: 131.7 kB / 1.169 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.5012, allocations: 103.7 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.5014, allocations: 59.83 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.844e-05/0.5015, allocations: 11.94 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.5016, allocations: 39.83 kB / 1.169 GB, free: 4.645 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.5018, allocations: 43.91 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.5018, allocations: 7.984 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005629/0.5024, allocations: 227.7 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.5025, allocations: 55.81 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.5027, allocations: 59.59 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005721/0.5032, allocations: 283.2 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.5033, allocations: 4 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5033, allocations: 3.938 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.5033, allocations: 0 / 1.169 GB, free: 3.973 MB / 0.92 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.001052/0.5044, allocations: 0.5019 MB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.5044, allocations: 12.03 kB / 1.17 GB, free: 3.41 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.5045, allocations: 38.73 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.5046, allocations: 16.84 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009657/0.5055, allocations: 0.6473 MB / 1.171 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.5056, allocations: 8.125 kB / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.5056, allocations: 0 / 1.171 GB, free: 2.656 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.5059, allocations: 77.59 kB / 1.171 GB, free: 2.574 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5059, allocations: 4 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.5059, allocations: 0 / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5059, allocations: 0 / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.5062, allocations: 75.94 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.5068, allocations: 325.6 kB / 1.171 GB, free: 2.129 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.5072, allocations: 126.4 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.5073, allocations: 44.89 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.5074, allocations: 15.98 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.5075, allocations: 34.5 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.5075, allocations: 4 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.00063/0.5081, allocations: 173.5 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.5082, allocations: 51.41 kB / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.5093, allocations: 0.7742 MB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.5094, allocations: 25.7 kB / 1.172 GB, free: 0.832 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.5095, allocations: 124.1 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.5096, allocations: 11.95 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.5096, allocations: 13.72 kB / 1.172 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.5098, allocations: 334.8 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.51, allocations: 43.97 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.5102, allocations: 62.47 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.5105, allocations: 88.8 kB / 1.173 GB, free: 140 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.5105, allocations: 7.938 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004219/0.5109, allocations: 141.5 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.511, allocations: 4 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.511, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.511, allocations: 0 / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.5111, allocations: 8 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.5112, allocations: 3.984 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.5113, allocations: 11.94 kB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.5113, allocations: 3.938 kB / 1.173 GB, free: 15.95 MB / 0.9356 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 0.0001889/0.5115, allocations: 137.8 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.5116, allocations: 11.91 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004384/0.512, allocations: 138.9 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5121, allocations: 0 / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5121, allocations: 0 / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5121, allocations: 0 / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.5124, allocations: 233.5 kB / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5124, allocations: 0 / 1.174 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.794e-05/0.5125, allocations: 15.98 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5125, allocations: 0 / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.5125, allocations: 0 / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5125, allocations: 0 / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.5126, allocations: 3.938 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.513, allocations: 161.2 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.5131, allocations: 109 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.5132, allocations: 3.984 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.5133, allocations: 4 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/0.5133, allocations: 7.984 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.5134, allocations: 0 / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009088/0.5143, allocations: 0.6175 MB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.31e-07/0.5143, allocations: 0 / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005745/0.5149, allocations: 71.86 kB / 1.175 GB, free: 14.34 MB / 0.9356 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.001344/0.5162, allocations: 0.7643 MB / 1.175 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004116/0.5166, allocations: 83.92 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5167, allocations: 0 / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.5168, allocations: 47.97 kB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.5173, allocations: 12.56 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/0.523, allocations: 3.324 MB / 1.179 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.5235, allocations: 0.724 MB / 1.179 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.5236, allocations: 24.61 kB / 1.179 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.5238, allocations: 51.42 kB / 1.179 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of SimCode: time 1.603e-06/0.5238, allocations: 0 / 1.179 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.064/5.587, allocations: 4.586 MB / 1.184 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.34/23.93, allocations: 19.2 kB / 1.184 GB, free: 4.742 MB / 0.9356 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