Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008913/0.0008913, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000796/0.000796, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8652/0.8652, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.71/1.71, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115e-05/1.287e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.001361/0.001374, allocations: 1.231 MB / 1.001 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000792/0.002166, allocations: 0.7446 MB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.00219, allocations: 0 / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.002206, allocations: 3.938 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.002358, allocations: 11.92 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.002528, allocations: 95.62 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.418e-05/0.002572, allocations: 8 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.002609, allocations: 7.984 kB / 1.002 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.002719, allocations: 19.8 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.604e-05/0.002755, allocations: 4 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.002765, allocations: 0 / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.002941, allocations: 123.8 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.073e-06/0.002948, allocations: 4 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.39e-05/0.002962, allocations: 7.938 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.0031, allocations: 107.7 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.003102, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.02e-07/0.003103, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.003106, allocations: 0 / 1.002 GB, free: 11.11 MB / 0.9636 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.0002553/0.003361, allocations: 258.3 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.003396, allocations: 8.75 kB / 1.002 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.457e-05/0.003421, allocations: 30.75 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.791e-05/0.003439, allocations: 4.891 kB / 1.002 GB, free: 10.78 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.434e-05/0.003503, allocations: 113.7 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.003511, allocations: 384 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.55e-06/0.003517, allocations: 384 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.595e-05/0.003593, allocations: 45.56 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.003599, allocations: 3.984 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.003605, allocations: 0 / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.003609, allocations: 0 / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.003636, allocations: 4 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.003738, allocations: 120.8 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.00378, allocations: 26.53 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.003795, allocations: 12.92 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003638/0.004159, allocations: 79.78 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.004179, allocations: 38.56 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.00418, allocations: 0 / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001121/0.004292, allocations: 37.69 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.004316, allocations: 51.41 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.381e-05/0.004359, allocations: 102 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.004368, allocations: 25.7 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.062e-05/0.004388, allocations: 80.14 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.00441, allocations: 7.953 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-05/0.00443, allocations: 9.719 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.004498, allocations: 318.8 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.004507, allocations: 11.94 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.004513, allocations: 3.938 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.434e-05/0.004537, allocations: 16.86 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.004538, allocations: 4.188 kB / 1.003 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.672e-05/0.004575, allocations: 37.64 kB / 1.003 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.004587, allocations: 7.984 kB / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.004591, allocations: 0 / 1.003 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.004602, allocations: 4 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.773e-05/0.00464, allocations: 0 / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.004643, allocations: 0 / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-06/0.004652, allocations: 4 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-06/0.004655, allocations: 0 / 1.003 GB, free: 9.477 MB / 0.9636 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 4.548e-05/0.004701, allocations: 113.8 kB / 1.003 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-06/0.004705, allocations: 7.969 kB / 1.003 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.004768, allocations: 48.98 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.004769, allocations: 4 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.004772, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.004775, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.666e-05/0.004831, allocations: 120.8 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.004832, allocations: 0 / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-06/0.004841, allocations: 7.938 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.004842, allocations: 0 / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.004846, allocations: 0 / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.004847, allocations: 3.938 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.004847, allocations: 4.031 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.368e-05/0.004891, allocations: 73.02 kB / 1.004 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-06/0.004896, allocations: 3.938 kB / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.073e-06/0.004903, allocations: 0 / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.508e-06/0.004907, allocations: 0 / 1.004 GB, free: 9.016 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.004918, allocations: 4 kB / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.02e-07/0.004919, allocations: 0 / 1.004 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.004939, allocations: 79.28 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004939, allocations: 0 / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001471/0.005087, allocations: 31.98 kB / 1.004 GB, free: 8.902 MB / 0.9636 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.0002964/0.005383, allocations: 0.6396 MB / 1.004 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.632e-05/0.005439, allocations: 15.98 kB / 1.004 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.005441, allocations: 0 / 1.004 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.47e-06/0.005447, allocations: 4 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.525e-05/0.005542, allocations: 4.484 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.005785, allocations: 134.5 kB / 1.005 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.272e-05/0.005818, allocations: 63.44 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.362e-05/0.005832, allocations: 7.938 kB / 1.005 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.005851, allocations: 12.44 kB / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.005852, allocations: 0 / 1.005 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01357/0.01942, allocations: 2.208 MB / 1.007 GB, free: 5.871 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.703/6.722, allocations: 11.12 kB / 1.007 GB, free: 5.863 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.580406959168613]