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.001944/0.001944, allocations: 114.8 kB / 17.16 MB, free: 5.969 MB / 14.72 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.002237/0.002237, allocations: 214.2 kB / 20.13 MB, free: 3.023 MB / 14.72 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 1.569/1.569, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 3.001/3.001, allocations: 0.5003 GB / 0.8026 GB, free: 6.734 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_WindPressureLowRise",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.89 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9569/0.9588, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.WindPressureLowRise): time 0.002082/0.9609, allocations: 1.253 MB / 1.341 GB, free: 15.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.962, allocations: 0.7896 MB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.9621, allocations: 0 / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.9621, allocations: 1.125 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001937/0.9623, allocations: 7.688 kB / 1.342 GB, free: 14.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.9625, allocations: 98.73 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.9626, allocations: 5.172 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.9626, allocations: 2.016 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.9628, allocations: 24.97 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.575e-05/0.9628, allocations: 4.188 kB / 1.342 GB, free: 14.8 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.9628, allocations: 3.984 kB / 1.342 GB, free: 14.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.9631, allocations: 147.8 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.9631, allocations: 0 / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.9632, allocations: 11.2 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.9634, allocations: 88.69 kB / 1.343 GB, free: 14.72 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.9634, allocations: 3.938 kB / 1.343 GB, free: 14.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9634, allocations: 1.438 kB / 1.343 GB, free: 14.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.9634, allocations: 0 / 1.343 GB, free: 14.72 MB / 1.061 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.000333/0.9637, allocations: 344.8 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.9637, allocations: 10.39 kB / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.202e-05/0.9638, allocations: 192 / 1.343 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.952e-05/0.9638, allocations: 32.81 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.9638, allocations: 1.688 kB / 1.343 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/0.9639, allocations: 166.8 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.9639, allocations: 4.453 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.9639, allocations: 2 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.603e-05/0.964, allocations: 36.83 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.964, allocations: 3.938 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.964, allocations: 6 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.964, allocations: 0.7031 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.922e-05/0.964, allocations: 2.703 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.9642, allocations: 151.6 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.615e-05/0.9642, allocations: 24.14 kB / 1.343 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.9642, allocations: 10.92 kB / 1.343 GB, free: 13.83 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009236/0.9652, allocations: 1.043 MB / 1.344 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.9652, allocations: 36.36 kB / 1.344 GB, free: 12.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.273e-06/0.9652, allocations: 1.312 kB / 1.344 GB, free: 12.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.9653, allocations: 40.14 kB / 1.344 GB, free: 12.53 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.9653, allocations: 56.88 kB / 1.344 GB, free: 12.46 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.161e-05/0.9654, allocations: 97.78 kB / 1.345 GB, free: 12.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.744e-06/0.9654, allocations: 25.7 kB / 1.345 GB, free: 12.33 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.9654, allocations: 80.89 kB / 1.345 GB, free: 12.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.9654, allocations: 5.938 kB / 1.345 GB, free: 12.24 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.9655, allocations: 17.12 kB / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.9655, allocations: 312.8 kB / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.9655, allocations: 5.828 kB / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.138e-06/0.9655, allocations: 2.281 kB / 1.345 GB, free: 11.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.093e-05/0.9656, allocations: 22.27 kB / 1.345 GB, free: 11.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9656, allocations: 0 / 1.345 GB, free: 11.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.325e-05/0.9656, allocations: 36.14 kB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.9656, allocations: 7.031 kB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.9656, allocations: 1.844 kB / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.9657, allocations: 0 / 1.345 GB, free: 11.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.003e-05/0.9657, allocations: 7.969 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.9657, allocations: 1.531 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.9657, allocations: 3.953 kB / 1.345 GB, free: 11.85 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.9657, allocations: 4.703 kB / 1.345 GB, free: 11.84 MB / 1.061 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.071e-05/0.9658, allocations: 119.4 kB / 1.345 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-06/0.9658, allocations: 2.172 kB / 1.345 GB, free: 11.72 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.9659, allocations: 55.14 kB / 1.345 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.9659, allocations: 1.438 kB / 1.345 GB, free: 11.67 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.9659, allocations: 4.031 kB / 1.345 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.9659, allocations: 4.453 kB / 1.345 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.379e-05/0.966, allocations: 151.5 kB / 1.345 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.966, allocations: 0 / 1.345 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.966, allocations: 3.641 kB / 1.345 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.966, allocations: 1.406 kB / 1.345 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.966, allocations: 0.75 kB / 1.345 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.966, allocations: 1.156 kB / 1.345 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.966, allocations: 0 / 1.345 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.604e-05/0.9661, allocations: 73.61 kB / 1.345 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.9661, allocations: 77.11 kB / 1.345 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.9661, allocations: 2.234 kB / 1.345 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.9661, allocations: 4 kB / 1.345 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.9661, allocations: 2.078 kB / 1.346 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.9661, allocations: 2.234 kB / 1.346 GB, free: 11.29 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.628e-05/0.9661, allocations: 76.78 kB / 1.346 GB, free: 11.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.9661, allocations: 0 / 1.346 GB, free: 11.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002287/0.9663, allocations: 29.64 kB / 1.346 GB, free: 11.21 MB / 1.061 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.0003376/0.9667, allocations: 0.6343 MB / 1.346 GB, free: 10.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.015e-05/0.9668, allocations: 12.69 kB / 1.346 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.9668, allocations: 0 / 1.346 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.9668, allocations: 8.703 kB / 1.346 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.9669, allocations: 5.188 kB / 1.346 GB, free: 10.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.9672, allocations: 141.3 kB / 1.346 GB, free: 10.43 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.788e-05/0.9673, allocations: 0.6745 MB / 1.347 GB, free: 9.738 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.9674, allocations: 5.359 kB / 1.347 GB, free: 9.734 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.9674, allocations: 12.75 kB / 1.347 GB, free: 9.723 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.9674, allocations: 0 / 1.347 GB, free: 9.723 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.985, allocations: 1.634 MB / 1.349 GB, free: 9.332 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/9.212, allocations: 10.58 kB / 1.349 GB, free: 9.324 MB / 1.061 GB " [Timeout remaining time 291] (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/jenkins1/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: 16.037516485957894]