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.004477/0.004477, allocations: 96.61 kB / 15.73 MB, free: 6.039 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.001094/0.001094, allocations: 201.7 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 1.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.296/2.296, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 62.72 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2414, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002161/0.2436, allocations: 1.219 MB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.2447, allocations: 0.7116 MB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.2448, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.549e-05/0.2448, allocations: 0 / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.2449, allocations: 11.94 kB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.2453, allocations: 91.69 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.682e-05/0.2454, allocations: 4 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.2454, allocations: 7.984 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.587e-05/0.2455, allocations: 4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.2456, allocations: 11.94 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.2456, allocations: 0 / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.2459, allocations: 139.8 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.2459, allocations: 3.984 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.2459, allocations: 0 / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.2461, allocations: 83.98 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2461, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2461, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2461, allocations: 0 / 1.09 GB, free: 15.68 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.0003261/0.2464, allocations: 331.4 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2465, allocations: 11.97 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.2465, allocations: 34.75 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.2466, allocations: 8.922 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.583e-05/0.2467, allocations: 168.3 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.2467, allocations: 4.125 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.2467, allocations: 4 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.015e-05/0.2468, allocations: 29.7 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2468, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.2468, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2468, allocations: 4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.904e-05/0.2468, allocations: 3.984 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.247, allocations: 153.7 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.055e-05/0.247, allocations: 26.48 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.159e-05/0.2471, allocations: 12.91 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004342/0.2475, allocations: 409.5 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.2476, allocations: 38.56 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2476, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001346/0.2477, allocations: 49.61 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.2477, allocations: 51.41 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.852e-05/0.2478, allocations: 93.86 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2478, allocations: 29.7 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.2479, allocations: 84.08 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.2479, allocations: 7.891 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.2479, allocations: 25.95 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2481, allocations: 310.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.2481, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.478e-06/0.2481, allocations: 4 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.956e-05/0.2481, allocations: 12.86 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2481, allocations: 3.938 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.278e-05/0.2482, allocations: 41.62 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2482, allocations: 8.094 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2482, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2482, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.876e-05/0.2483, allocations: 4 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2483, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.2483, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-06/0.2483, allocations: 0 / 1.092 GB, free: 13.43 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 8.152e-05/0.2484, allocations: 117.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.2484, allocations: 4 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.754e-05/0.2485, allocations: 48.81 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2485, allocations: 0 / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2486, allocations: 3.938 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.2486, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.2487, allocations: 153.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2487, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.218e-05/0.2487, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2487, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.2487, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2487, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2488, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.211e-05/0.2488, allocations: 73.05 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.2489, allocations: 81.11 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.2489, allocations: 4 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.181e-05/0.2489, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.225e-05/0.2489, allocations: 3.984 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.2489, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.249, allocations: 83.31 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.523e-06/0.249, allocations: 3.938 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000217/0.2492, allocations: 23.88 kB / 1.092 GB, free: 12.73 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.0004374/0.2496, allocations: 0.624 MB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.221e-05/0.2497, allocations: 16.11 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2497, allocations: 0 / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.2498, allocations: 7.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.2499, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.2502, allocations: 127.1 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.2505, allocations: 0.6729 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.2505, allocations: 3.984 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.2505, allocations: 11.44 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.2505, allocations: 128 / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.2687, allocations: 1.527 MB / 1.095 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.25, allocations: 9.188 kB / 1.095 GB, free: 9.766 MB / 0.8575 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