Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.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.WindPressureLowRise,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",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.007638/0.007638, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001827/0.001827, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.304/1.304, 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.151/2.151, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001226, allocations: 63.89 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6837/0.6849, allocations: 140.4 MB / 1.087 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.001816/0.6868, allocations: 1.24 MB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008543/0.6876, allocations: 0.7013 MB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.6877, allocations: 0 / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.6877, allocations: 3.938 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.6878, allocations: 1.75 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.6881, allocations: 93.44 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 3.999e-05/0.6881, allocations: 9.891 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.6882, allocations: 6.75 kB / 1.089 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.6882, allocations: 16.02 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.764e-05/0.6883, allocations: 7.828 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.134e-06/0.6883, allocations: 0 / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.6885, allocations: 136 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.774e-06/0.6885, allocations: 0 / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.6886, allocations: 5.828 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.6887, allocations: 81.14 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6887, allocations: 4 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6887, allocations: 0 / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6887, allocations: 1.125 kB / 1.09 GB, free: 3.816 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002431/0.689, allocations: 326.2 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.689, allocations: 9.25 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.897e-05/0.6891, allocations: 32.61 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.805e-05/0.6891, allocations: 0.9375 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.529e-05/0.6891, allocations: 170.6 kB / 1.09 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.6892, allocations: 13.89 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/0.6892, allocations: 0 / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.832e-05/0.6893, allocations: 34.83 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.6893, allocations: 0 / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.6893, allocations: 5.062 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.6893, allocations: 0.7031 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.574e-05/0.6893, allocations: 4.141 kB / 1.09 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.194e-05/0.6894, allocations: 154.1 kB / 1.09 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.59e-05/0.6895, allocations: 29.31 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.6895, allocations: 11.42 kB / 1.09 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000301/0.6898, allocations: 413 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.6898, allocations: 40.41 kB / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.6898, allocations: 0 / 1.091 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001108/0.6899, allocations: 47.53 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.397e-05/0.6899, allocations: 53.02 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.593e-05/0.69, allocations: 93.53 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.029e-06/0.69, allocations: 26.7 kB / 1.091 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.118e-05/0.69, allocations: 80.66 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.69, allocations: 9.734 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.6901, allocations: 12.94 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.324e-05/0.6901, allocations: 317.5 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.6901, allocations: 1.094 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-06/0.6901, allocations: 2.703 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.31e-05/0.6901, allocations: 18.95 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6902, allocations: 3.938 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.877e-05/0.6902, allocations: 40.17 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.6902, allocations: 7.625 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.6902, allocations: 0.8438 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6902, allocations: 0.6094 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.014e-05/0.6903, allocations: 8.234 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.6903, allocations: 0 / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.342e-05/0.6903, allocations: 1.656 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.6903, allocations: 0.9688 kB / 1.092 GB, free: 1.703 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 (2): * Single equations (assignments): 2 * 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 3.613e-05/0.6904, allocations: 111.4 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-06/0.6904, allocations: 1.953 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.2e-05/0.6905, allocations: 47.03 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6905, allocations: 0.7031 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.6905, allocations: 4.812 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.6905, allocations: 0.875 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.895e-05/0.6905, allocations: 155.2 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6905, allocations: 0.7969 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.6906, allocations: 2.5 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6906, allocations: 1.484 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.6906, allocations: 0.8125 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.6906, allocations: 0.7188 kB / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6906, allocations: 0 / 1.092 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.452e-05/0.6906, allocations: 77.27 kB / 1.092 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.6907, allocations: 78.5 kB / 1.092 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.6907, allocations: 1.516 kB / 1.092 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.066e-05/0.6907, allocations: 3.938 kB / 1.092 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.6907, allocations: 2.297 kB / 1.092 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.6907, allocations: 5 kB / 1.092 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.467e-05/0.6907, allocations: 77.52 kB / 1.092 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6907, allocations: 128 / 1.092 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000219/0.691, allocations: 26.91 kB / 1.092 GB, free: 1.078 MB / 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 (2): * Single equations (assignments): 2 * 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.0003624/0.6913, allocations: 0.6408 MB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 6.708e-05/0.6914, allocations: 7.141 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6914, allocations: 96 / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.125e-05/0.6914, allocations: 12.95 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.6916, allocations: 1 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.6918, allocations: 127.6 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.6921, allocations: 0.6728 MB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.75e-05/0.6921, allocations: 2.641 kB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.6922, allocations: 8.531 kB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of SimCode: time 6.91e-07/0.6922, allocations: 0 / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01531/0.7075, allocations: 1.519 MB / 1.095 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.984/7.691, allocations: 7.531 kB / 1.095 GB, free: 15.25 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches