Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_11_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.001681/0.001681, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001676/0.001677, allocations: 198.7 kB / 16.53 MB, free: 6.664 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.474/2.474, allocations: 469.8 MB / 0.7424 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 68.98 kB / 0.9087 GB, free: 34.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2405, allocations: 159.1 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002178/0.2427, allocations: 1.231 MB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2438, allocations: 0.7186 MB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.2439, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.2439, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.244, allocations: 0 / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.2443, allocations: 95.69 kB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.671e-05/0.2443, allocations: 11.94 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.2444, allocations: 0 / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.979e-05/0.2444, allocations: 11.98 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.59e-05/0.2445, allocations: 7.984 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.287e-06/0.2445, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.2447, allocations: 135.7 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.803e-06/0.2447, allocations: 0 / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.2448, allocations: 8 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.2449, allocations: 75.8 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2449, allocations: 3.938 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2449, allocations: 8 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.245, allocations: 0 / 1.066 GB, free: 11.92 MB / 0.8262 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.0003618/0.2453, allocations: 335.8 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2454, allocations: 8.031 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.2454, allocations: 30.75 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.897e-05/0.2454, allocations: 4.938 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.2455, allocations: 164.3 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2456, allocations: 4.359 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.2456, allocations: 7.938 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.839e-05/0.2457, allocations: 37.64 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.2457, allocations: 0 / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.2457, allocations: 0 / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.2457, allocations: 0 / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.622e-05/0.2457, allocations: 8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.2459, allocations: 153.7 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.2459, allocations: 22.55 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.246, allocations: 16.86 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004203/0.2464, allocations: 417.5 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.2464, allocations: 30.56 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2464, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001134/0.2465, allocations: 41.69 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.2466, allocations: 51.53 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.2466, allocations: 97.86 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.2467, allocations: 25.7 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.291e-05/0.2467, allocations: 80.14 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.2467, allocations: 7.906 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.2468, allocations: 13.72 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2469, allocations: 314.8 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.2469, allocations: 7.938 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.2469, allocations: 4.125 kB / 1.068 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.247, allocations: 16.86 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.247, allocations: 3.938 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.812e-05/0.247, allocations: 37.64 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.247, allocations: 4 kB / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.247, allocations: 0 / 1.068 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.2471, allocations: 3.984 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.709e-05/0.2471, allocations: 7.984 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.2471, allocations: 0 / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.311e-05/0.2471, allocations: 8.094 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.2471, allocations: 4 kB / 1.068 GB, free: 9.664 MB / 0.8262 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.526e-05/0.2472, allocations: 113.7 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-06/0.2472, allocations: 3.938 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.162e-05/0.2473, allocations: 44.81 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2473, allocations: 0 / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2473, allocations: 4 kB / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.2473, allocations: 0 / 1.068 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.2474, allocations: 157.6 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2474, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.619e-05/0.2475, allocations: 4 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2475, allocations: 0 / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/0.2475, allocations: 4 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2475, allocations: 4 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2475, allocations: 0 / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.034e-05/0.2476, allocations: 69 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.2476, allocations: 85.05 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.655e-06/0.2476, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.298e-05/0.2477, allocations: 4 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.2477, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2477, allocations: 4 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.2477, allocations: 75.28 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2477, allocations: 4 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001907/0.2479, allocations: 23.98 kB / 1.069 GB, free: 8.977 MB / 0.8262 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.0004281/0.2484, allocations: 0.632 MB / 1.069 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.866e-05/0.2484, allocations: 8 kB / 1.069 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2484, allocations: 0 / 1.069 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.2485, allocations: 7.938 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.2486, allocations: 7.984 kB / 1.069 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.2489, allocations: 139.2 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.2492, allocations: 0.6729 MB / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.346e-05/0.2492, allocations: 0 / 1.07 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.2492, allocations: 7.438 kB / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.2492, allocations: 0 / 1.07 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3898/0.639, allocations: 1.503 MB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.236/8.875, allocations: 8.609 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat --tempDir=temp_Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches