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.007774/0.007774, allocations: 97.14 kB / 15.73 MB, free: 6.055 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.001251/0.001251, allocations: 194.6 kB / 16.67 MB, free: 5.977 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 2.493/2.493, allocations: 437.1 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 63.89 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2695, allocations: 151.6 MB / 1.166 GB, free: 7.344 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002161/0.2717, allocations: 1.232 MB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.273, allocations: 0.7064 MB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/0.273, allocations: 0 / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.2731, allocations: 0 / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.2732, allocations: 3.938 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.2735, allocations: 95.67 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.072e-05/0.2736, allocations: 8 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.2736, allocations: 4 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.322e-05/0.2737, allocations: 15.86 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.2738, allocations: 3.984 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.337e-06/0.2738, allocations: 0 / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.2741, allocations: 135.8 kB / 1.168 GB, free: 5.125 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.2741, allocations: 4 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.2741, allocations: 3.938 kB / 1.168 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.2743, allocations: 80.08 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2743, allocations: 4 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2743, allocations: 0 / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2743, allocations: 0 / 1.168 GB, free: 5.035 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003709/0.2747, allocations: 335.3 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2747, allocations: 12.03 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.2748, allocations: 34.75 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.269e-05/0.2748, allocations: 4.938 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.2749, allocations: 160.4 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2749, allocations: 8.125 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-06/0.275, allocations: 4 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.784e-05/0.275, allocations: 33.69 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2751, allocations: 0 / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.2751, allocations: 3.938 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2751, allocations: 0 / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.987e-05/0.2751, allocations: 4 kB / 1.169 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.2753, allocations: 157.6 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.2753, allocations: 26.55 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.012e-05/0.2754, allocations: 8.859 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003998/0.2758, allocations: 413.6 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.2758, allocations: 30.56 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2758, allocations: 8 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000123/0.2759, allocations: 41.64 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.276, allocations: 51.41 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.678e-05/0.276, allocations: 97.84 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.276, allocations: 25.7 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.164e-05/0.2761, allocations: 80.14 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.2761, allocations: 11.89 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.2761, allocations: 17.97 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.2762, allocations: 310.8 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.2763, allocations: 4 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.02e-05/0.2763, allocations: 7.984 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.2763, allocations: 12.8 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2763, allocations: 3.938 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.905e-05/0.2764, allocations: 45.66 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2764, allocations: 4 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.2764, allocations: 4.094 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2764, allocations: 0 / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.344e-05/0.2765, allocations: 4 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.2765, allocations: 0 / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.2765, allocations: 3.984 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.2765, allocations: 0 / 1.17 GB, free: 2.781 MB / 0.92 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 6.745e-05/0.2766, allocations: 113.8 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.2766, allocations: 0 / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.266e-05/0.2767, allocations: 52.75 kB / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2767, allocations: 0 / 1.17 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2767, allocations: 3.938 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2767, allocations: 0 / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.812e-05/0.2768, allocations: 153.6 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2768, allocations: 3.984 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-05/0.2768, allocations: 7.984 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2769, allocations: 0 / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.2769, allocations: 3.938 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2769, allocations: 4 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2769, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.895e-05/0.277, allocations: 73.05 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.277, allocations: 81.09 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.277, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.2771, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/0.2771, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2771, allocations: 4 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.064e-05/0.2771, allocations: 79.31 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2771, allocations: 0 / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000208/0.2773, allocations: 23.94 kB / 1.171 GB, free: 2.086 MB / 0.92 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.0004439/0.2778, allocations: 0.6318 MB / 1.171 GB, free: 1.422 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.594e-05/0.2779, allocations: 8.062 kB / 1.171 GB, free: 1.414 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2779, allocations: 4.062 kB / 1.171 GB, free: 1.41 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.2779, allocations: 8 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.278, allocations: 4 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.2783, allocations: 135 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.2786, allocations: 0.6768 MB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.929e-05/0.2786, allocations: 0 / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.2786, allocations: 7.438 kB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.2786, allocations: 0 / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.2941, allocations: 1.53 MB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/7.11, allocations: 16.22 kB / 1.174 GB, free: 15.11 MB / 0.9356 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