Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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.001733/0.001733, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.001919/0.001919, allocations: 215.4 kB / 22.25 MB, free: 5.098 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.785 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.149/3.149, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",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.002046/0.002046, allocations: 67.92 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3433, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2234/0.5667, allocations: 178.9 MB / 1.538 GB, free: 10.56 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0122/0.5789, allocations: 7.056 MB / 1.545 GB, free: 3.488 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.58, allocations: 47.62 kB / 1.545 GB, free: 3.441 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.5818, allocations: 0.6564 MB / 1.546 GB, free: 2.781 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.006082/0.5879, allocations: 2.563 MB / 1.548 GB, free: 212 kB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.5911, allocations: 1.272 MB / 1.549 GB, free: 14.93 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004223/0.5953, allocations: 2.976 MB / 1.552 GB, free: 11.95 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001214/0.5965, allocations: 0.7055 MB / 1.553 GB, free: 11.22 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002132/0.5987, allocations: 1.211 MB / 1.554 GB, free: 10.01 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001962/0.6006, allocations: 0.9842 MB / 1.555 GB, free: 9.027 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.6008, allocations: 112 kB / 1.555 GB, free: 8.918 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00384/0.6047, allocations: 1.78 MB / 1.557 GB, free: 7.133 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005703/0.6052, allocations: 474.5 kB / 1.557 GB, free: 6.668 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007414/0.606, allocations: 0.5641 MB / 1.558 GB, free: 6.102 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006123/0.6121, allocations: 2.398 MB / 1.56 GB, free: 3.695 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.6121, allocations: 0 / 1.56 GB, free: 3.695 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.567e-06/0.6121, allocations: 0 / 1.56 GB, free: 3.695 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.654e-05/0.6121, allocations: 3.938 kB / 1.56 GB, free: 3.691 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003849/0.616, allocations: 1.61 MB / 1.562 GB, free: 2.047 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.616, allocations: 8.031 kB / 1.562 GB, free: 2.039 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/0.6163, allocations: 135.3 kB / 1.562 GB, free: 1.898 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.6198, allocations: 0.4987 MB / 1.563 GB, free: 1.398 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.6214, allocations: 0.7915 MB / 1.563 GB, free: 0.5781 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.6215, allocations: 66 kB / 1.563 GB, free: 0.5117 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.6217, allocations: 84 kB / 1.563 GB, free: 440 kB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.6239, allocations: 1.309 MB / 1.565 GB, free: 15.04 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.6239, allocations: 0 / 1.565 GB, free: 15.04 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.535e-05/0.624, allocations: 35.94 kB / 1.565 GB, free: 15 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.497e-05/0.6241, allocations: 45.98 kB / 1.565 GB, free: 14.96 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002073/0.6262, allocations: 0.9875 MB / 1.566 GB, free: 13.97 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.6312, allocations: 2.964 MB / 1.569 GB, free: 10.92 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.6329, allocations: 0.7646 MB / 1.569 GB, free: 10.15 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.634, allocations: 483.2 kB / 1.57 GB, free: 9.68 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 5.583e-05/0.6341, allocations: 8.656 kB / 1.57 GB, free: 9.672 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.6341, allocations: 47.22 kB / 1.57 GB, free: 9.617 MB / 1.264 GB Notification: Performance of pre-optimization done (n=70): time 2.695e-06/0.6341, allocations: 0 / 1.57 GB, free: 9.617 MB / 1.264 GB Notification: Performance of matching and sorting (n=70): time 0.002825/0.6369, allocations: 1.153 MB / 1.571 GB, free: 8.457 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.637, allocations: 60.06 kB / 1.571 GB, free: 8.387 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008663/0.6378, allocations: 0.6489 MB / 1.572 GB, free: 7.73 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 7.911e-05/0.6379, allocations: 37.7 kB / 1.572 GB, free: 7.688 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003921/0.6383, allocations: 440.8 kB / 1.572 GB, free: 7.25 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003007/0.6386, allocations: 265.7 kB / 1.572 GB, free: 6.988 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.6389, allocations: 122.3 kB / 1.573 GB, free: 6.863 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.639, allocations: 330 kB / 1.573 GB, free: 6.535 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007282/0.6398, allocations: 329.1 kB / 1.573 GB, free: 6.211 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007874/0.6405, allocations: 417 kB / 1.574 GB, free: 5.781 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.6421, allocations: 0.7565 MB / 1.574 GB, free: 5.008 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6421, allocations: 0 / 1.574 GB, free: 5.008 MB / 1.264 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001902/0.644, allocations: 0.8913 MB / 1.575 GB, free: 4.109 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.644, allocations: 12 kB / 1.575 GB, free: 4.098 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.644, allocations: 3.984 kB / 1.575 GB, free: 4.094 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.6441, allocations: 4 kB / 1.575 GB, free: 4.09 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008582/0.6449, allocations: 159.7 kB / 1.575 GB, free: 3.934 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.6449, allocations: 8 kB / 1.575 GB, free: 3.926 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009049/0.6458, allocations: 71.53 kB / 1.575 GB, free: 3.855 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.6459, allocations: 20 kB / 1.575 GB, free: 3.836 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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 0.0004837/0.6464, allocations: 293.6 kB / 1.576 GB, free: 3.539 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.6465, allocations: 87.44 kB / 1.576 GB, free: 3.453 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.6468, allocations: 115.6 kB / 1.576 GB, free: 3.332 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.6468, allocations: 8 kB / 1.576 GB, free: 3.324 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.6468, allocations: 3.984 kB / 1.576 GB, free: 3.32 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0017/0.6485, allocations: 0.915 MB / 1.577 GB, free: 2.355 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003448/0.6519, allocations: 1.828 MB / 1.579 GB, free: 488 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/0.652, allocations: 7.938 kB / 1.579 GB, free: 480 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009998/0.653, allocations: 183.8 kB / 1.579 GB, free: 296 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.653, allocations: 7.984 kB / 1.579 GB, free: 288 kB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/0.653, allocations: 12 kB / 1.579 GB, free: 276 kB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.171e-06/0.653, allocations: 4 kB / 1.579 GB, free: 272 kB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.653, allocations: 3.938 kB / 1.579 GB, free: 268 kB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002698/0.6557, allocations: 1.382 MB / 1.58 GB, free: 14.86 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004809/0.6562, allocations: 179.2 kB / 1.58 GB, free: 14.68 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.6563, allocations: 16 kB / 1.58 GB, free: 14.67 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007524/0.6571, allocations: 36.84 kB / 1.58 GB, free: 14.63 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.6572, allocations: 48.56 kB / 1.58 GB, free: 14.59 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.6573, allocations: 23.98 kB / 1.58 GB, free: 14.56 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0006079/0.6579, allocations: 459 kB / 1.581 GB, free: 14.12 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6579, allocations: 4 kB / 1.581 GB, free: 14.11 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008673/0.6588, allocations: 327.5 kB / 1.581 GB, free: 13.79 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * 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.003202/0.662, allocations: 2.003 MB / 1.583 GB, free: 11.77 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.6637, allocations: 0.7514 MB / 1.584 GB, free: 11.02 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.6637, allocations: 4.125 kB / 1.584 GB, free: 11.01 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0008183/0.6645, allocations: 403.5 kB / 1.584 GB, free: 10.62 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.6669, allocations: 0.549 MB / 1.585 GB, free: 10.08 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.6791, allocations: 7.371 MB / 1.592 GB, free: 2.539 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.6797, allocations: 0.4911 MB / 1.593 GB, free: 2.016 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001016/0.6807, allocations: 231.3 kB / 1.593 GB, free: 1.785 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006299/0.6813, allocations: 363.3 kB / 1.593 GB, free: 1.43 MB / 1.279 GB Notification: Performance of SimCode: time 8.21e-07/0.6813, allocations: 0 / 1.593 GB, free: 1.43 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7784/1.46, allocations: 29.27 MB / 1.622 GB, free: 246.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/13.4, allocations: 6.016 kB / 1.622 GB, free: 246.7 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_NaturalVentilation.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_NaturalVentilation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.NaturalVentilation.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: 20.007395959924906]