Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WindPressureLowRise,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_10_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.01065/0.01065, allocations: 101 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.002483/0.002483, allocations: 193.8 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 2.451/2.451, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.325/4.325, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003139/0.003139, allocations: 67.84 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512/1.516, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.008157/1.524, allocations: 1.236 MB / 1.167 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002211/1.526, allocations: 0.7085 MB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/1.526, allocations: 0 / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/1.526, allocations: 0 / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002022/1.526, allocations: 7.938 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/1.527, allocations: 87.69 kB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.09e-05/1.527, allocations: 11.94 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.528e-05/1.527, allocations: 7.984 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/1.527, allocations: 15.92 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.359e-05/1.527, allocations: 4 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/1.527, allocations: 0 / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/1.528, allocations: 127.8 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/1.528, allocations: 7.984 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/1.528, allocations: 3.938 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/1.528, allocations: 82.48 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.528, allocations: 0 / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/1.528, allocations: 0 / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.512e-05/1.528, allocations: 0 / 1.168 GB, free: 1.457 MB / 0.8887 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.00468/1.533, allocations: 336.3 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/1.533, allocations: 8.625 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.616e-05/1.533, allocations: 38.69 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/1.533, allocations: 8.922 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/1.533, allocations: 160.4 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/1.533, allocations: 4.125 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/1.533, allocations: 0 / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/1.534, allocations: 29.7 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.534, allocations: 4 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/1.534, allocations: 3.938 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/1.534, allocations: 0 / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/1.534, allocations: 11.92 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/1.534, allocations: 149.7 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.946e-05/1.534, allocations: 26.55 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/1.534, allocations: 12.91 kB / 1.169 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006867/1.535, allocations: 413.5 kB / 1.17 GB, free: 24 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.09e-05/1.535, allocations: 30.56 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/1.535, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0002129/1.535, allocations: 45.62 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/1.535, allocations: 55.41 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/1.535, allocations: 89.98 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/1.535, allocations: 33.83 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.683e-05/1.535, allocations: 84.14 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/1.535, allocations: 7.938 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/1.536, allocations: 9.719 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.536, allocations: 314.8 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/1.536, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/1.536, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/1.536, allocations: 12.92 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.536, allocations: 3.938 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001149/1.536, allocations: 53.58 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/1.536, allocations: 4 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.536, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/1.536, allocations: 4 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.244e-05/1.536, allocations: 0 / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.536, allocations: 3.984 kB / 1.17 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/1.536, allocations: 4 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/1.536, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 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 0.0001353/1.536, allocations: 121.7 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/1.536, allocations: 0 / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/1.537, allocations: 52.73 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/1.541, allocations: 4 kB / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.984e-06/1.541, allocations: 0 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.541, allocations: 0 / 1.17 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/1.541, allocations: 157.6 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.541, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/1.541, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/1.541, allocations: 4.031 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/1.541, allocations: 4 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.541, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.541, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/1.541, allocations: 69 kB / 1.171 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/1.541, allocations: 81.05 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/1.541, allocations: 4 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.952e-05/1.541, allocations: 4.031 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/1.541, allocations: 3.984 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/1.541, allocations: 0 / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.744e-05/1.541, allocations: 83.28 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.7e-07/1.542, allocations: 0 / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004193/1.542, allocations: 19.94 kB / 1.171 GB, free: 14.5 MB / 0.9044 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.0008058/1.543, allocations: 0.628 MB / 1.171 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001272/1.543, allocations: 19.92 kB / 1.171 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.543, allocations: 0 / 1.171 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/1.543, allocations: 4 kB / 1.171 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/1.543, allocations: 1.125 kB / 1.171 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005564/1.544, allocations: 135.2 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004578/1.544, allocations: 0.6729 MB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.674e-05/1.544, allocations: 7.984 kB / 1.172 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.29e-05/1.544, allocations: 7.438 kB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of SimCode: time 3.8e-07/1.544, allocations: 3.938 kB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.008/3.553, allocations: 1.527 MB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.24/26.8, allocations: 16.14 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches