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.004923/0.004923, allocations: 99.45 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.001153/0.001153, allocations: 193.4 kB / 16.67 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 1.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.137/2.137, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6814/0.6827, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureProfile): time 0.002438/0.6852, allocations: 1.445 MB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.6866, allocations: 0.8842 MB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.289e-05/0.6867, allocations: 0 / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.6868, allocations: 8.75 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005539/0.6874, allocations: 140.9 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.6877, allocations: 116.3 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.6878, allocations: 53.02 kB / 1.09 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.6879, allocations: 7.406 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.688, allocations: 43.22 kB / 1.09 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.6881, allocations: 39.89 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.6881, allocations: 4.594 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.6885, allocations: 235.5 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.357e-05/0.6886, allocations: 56.39 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.6887, allocations: 64.03 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.6891, allocations: 280.4 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6891, allocations: 0.7188 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6891, allocations: 0 / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.6891, allocations: 4 kB / 1.091 GB, free: 3.312 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.0006226/0.6897, allocations: 0.4976 MB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.6898, allocations: 10.8 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.442e-05/0.6898, allocations: 31.66 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.6899, allocations: 21.06 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005894/0.6905, allocations: 0.6501 MB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.6905, allocations: 9.719 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.6905, allocations: 2.094 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.6907, allocations: 75.22 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6907, allocations: 0 / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.6907, allocations: 0.75 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.6907, allocations: 1.297 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.691, allocations: 78.08 kB / 1.092 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.6913, allocations: 322 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.6915, allocations: 125.4 kB / 1.093 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.6917, allocations: 51.53 kB / 1.093 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.6917, allocations: 19.12 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.6918, allocations: 32 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.6918, allocations: 0 / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004358/0.6922, allocations: 170.3 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.946e-05/0.6922, allocations: 52.28 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000778/0.693, allocations: 0.7768 MB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.693, allocations: 30.67 kB / 1.094 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.6931, allocations: 130.8 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.6931, allocations: 14.28 kB / 1.094 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.6932, allocations: 18.88 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.6932, allocations: 334.1 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.6934, allocations: 37.45 kB / 1.094 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.6935, allocations: 61.05 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.6937, allocations: 92.12 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6937, allocations: 3.969 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002691/0.694, allocations: 134.4 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.694, allocations: 9.156 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.694, allocations: 0.6094 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.694, allocations: 1.281 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.6941, allocations: 11.08 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.6941, allocations: 0 / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.6942, allocations: 9.562 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.6943, allocations: 5.156 kB / 1.094 GB, free: 1.125 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.944e-05/0.6943, allocations: 135.9 kB / 1.095 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.6944, allocations: 20.3 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003029/0.6947, allocations: 131.4 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.6947, allocations: 1.25 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6947, allocations: 1 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6947, allocations: 0.7031 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.6949, allocations: 238.1 kB / 1.095 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6949, allocations: 3.938 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.579e-05/0.695, allocations: 10.59 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.695, allocations: 1.297 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.695, allocations: 1 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.695, allocations: 0 / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.695, allocations: 0.7188 kB / 1.095 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.6953, allocations: 158.5 kB / 1.095 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.516e-05/0.6954, allocations: 107.4 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.6954, allocations: 1.062 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.733e-05/0.6955, allocations: 8.281 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.76e-05/0.6955, allocations: 2.531 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.6955, allocations: 1.062 kB / 1.095 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006067/0.6961, allocations: 0.6162 MB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6962, allocations: 3.938 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004252/0.6966, allocations: 78.45 kB / 1.096 GB, free: 308 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.0007097/0.6973, allocations: 0.7485 MB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002813/0.6976, allocations: 88.42 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.6976, allocations: 0 / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.6977, allocations: 50.22 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.698, allocations: 12.22 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.7018, allocations: 3.32 MB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.702, allocations: 0.7231 MB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.73e-05/0.7021, allocations: 24.78 kB / 1.101 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.7022, allocations: 53.12 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/0.7022, allocations: 0 / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.7259, allocations: 4.581 MB / 1.105 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/8.141, allocations: 11.78 kB / 1.105 GB, free: 12.8 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