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.001974/0.001974, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00286/0.00286, allocations: 215.6 kB / 22.25 MB, free: 5.082 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.432/1.432, allocations: 230.6 MB / 256 MB, free: 8.02 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.212/3.212, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 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.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.00201/0.00201, allocations: 68.06 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3294, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.NaturalVentilation): time 0.2426/0.572, allocations: 206.2 MB / 1.554 GB, free: 9.504 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.5848, allocations: 7.581 MB / 1.562 GB, free: 1.902 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.5862, allocations: 47.62 kB / 1.562 GB, free: 1.855 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.5884, allocations: 0.742 MB / 1.562 GB, free: 1.109 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.008067/0.5965, allocations: 2.576 MB / 1.565 GB, free: 14.52 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.6001, allocations: 1.292 MB / 1.566 GB, free: 13.23 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.00493/0.605, allocations: 3.002 MB / 1.569 GB, free: 10.22 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/0.6067, allocations: 0.725 MB / 1.57 GB, free: 9.477 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002712/0.6094, allocations: 1.191 MB / 1.571 GB, free: 8.281 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002782/0.6122, allocations: 1.035 MB / 1.572 GB, free: 7.25 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0003706/0.6125, allocations: 112 kB / 1.572 GB, free: 7.141 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.6176, allocations: 2.338 MB / 1.574 GB, free: 4.797 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0007602/0.6183, allocations: 466.6 kB / 1.575 GB, free: 4.34 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.6197, allocations: 0.6728 MB / 1.575 GB, free: 3.664 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.005182/0.6249, allocations: 2.465 MB / 1.578 GB, free: 1.191 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.6249, allocations: 0 / 1.578 GB, free: 1.191 MB / 1.264 GB Notification: Performance of FrontEnd: time 3.877e-06/0.6249, allocations: 4 kB / 1.578 GB, free: 1.188 MB / 1.264 GB Notification: Performance of Transformations before backend: time 6.073e-05/0.625, allocations: 0 / 1.578 GB, free: 1.188 MB / 1.264 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.00436/0.6293, allocations: 1.601 MB / 1.579 GB, free: 15.55 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.6294, allocations: 16.02 kB / 1.579 GB, free: 15.54 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002569/0.6296, allocations: 139.2 kB / 1.58 GB, free: 15.39 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/0.6333, allocations: 0.4987 MB / 1.58 GB, free: 14.89 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.6352, allocations: 0.7954 MB / 1.581 GB, free: 14.07 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.356e-05/0.6353, allocations: 62 kB / 1.581 GB, free: 14.01 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.6355, allocations: 87.95 kB / 1.581 GB, free: 13.92 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.6378, allocations: 1.104 MB / 1.582 GB, free: 12.79 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.6378, allocations: 4 kB / 1.582 GB, free: 12.78 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.638, allocations: 36 kB / 1.582 GB, free: 12.75 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-05/0.638, allocations: 53.92 kB / 1.582 GB, free: 12.69 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.6402, allocations: 0.9759 MB / 1.583 GB, free: 11.71 MB / 1.279 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.006562/0.6468, allocations: 4.44 MB / 1.587 GB, free: 6.898 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001723/0.6485, allocations: 0.7769 MB / 1.588 GB, free: 6.113 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.6495, allocations: 491.1 kB / 1.589 GB, free: 5.633 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 7.531e-05/0.6496, allocations: 16.64 kB / 1.589 GB, free: 5.617 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.6496, allocations: 39.22 kB / 1.589 GB, free: 5.57 MB / 1.279 GB Notification: Performance of pre-optimization done (n=70): time 3.346e-06/0.6497, allocations: 4 kB / 1.589 GB, free: 5.566 MB / 1.279 GB Notification: Performance of matching and sorting (n=70): time 0.002765/0.6524, allocations: 1.149 MB / 1.59 GB, free: 4.41 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.631e-05/0.6525, allocations: 68 kB / 1.59 GB, free: 4.332 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6535, allocations: 0.6411 MB / 1.591 GB, free: 3.688 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 8.994e-05/0.6536, allocations: 41.7 kB / 1.591 GB, free: 3.641 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.6539, allocations: 444.7 kB / 1.591 GB, free: 3.199 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.6543, allocations: 261.7 kB / 1.591 GB, free: 2.941 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.6545, allocations: 122.3 kB / 1.591 GB, free: 2.816 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6547, allocations: 330 kB / 1.592 GB, free: 2.488 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007232/0.6554, allocations: 337.1 kB / 1.592 GB, free: 2.16 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007752/0.6561, allocations: 405 kB / 1.592 GB, free: 1.742 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.6577, allocations: 0.7605 MB / 1.593 GB, free: 0.957 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.6577, allocations: 4 kB / 1.593 GB, free: 0.9531 MB / 1.279 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001911/0.6596, allocations: 0.8951 MB / 1.594 GB, free: 52 kB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6596, allocations: 4 kB / 1.594 GB, free: 48 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.6596, allocations: 4 kB / 1.594 GB, free: 44 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.6596, allocations: 4 kB / 1.594 GB, free: 40 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008875/0.6605, allocations: 159.8 kB / 1.594 GB, free: 15.88 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.6605, allocations: 7.938 kB / 1.594 GB, free: 15.88 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009625/0.6615, allocations: 67.53 kB / 1.594 GB, free: 15.81 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.6616, allocations: 32.05 kB / 1.594 GB, free: 15.78 MB / 1.295 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.0004969/0.6621, allocations: 281.7 kB / 1.595 GB, free: 15.49 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.6623, allocations: 91.44 kB / 1.595 GB, free: 15.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002664/0.6626, allocations: 107.6 kB / 1.595 GB, free: 15.29 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.6626, allocations: 8 kB / 1.595 GB, free: 15.28 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.6626, allocations: 0 / 1.595 GB, free: 15.28 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001664/0.6643, allocations: 0.9228 MB / 1.596 GB, free: 14.31 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/0.6679, allocations: 1.996 MB / 1.598 GB, free: 12.27 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.6679, allocations: 3.938 kB / 1.598 GB, free: 12.26 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.669, allocations: 183.8 kB / 1.598 GB, free: 12.08 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/0.669, allocations: 4 kB / 1.598 GB, free: 12.08 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.6691, allocations: 19.98 kB / 1.598 GB, free: 12.06 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.6691, allocations: 4 kB / 1.598 GB, free: 12.05 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6691, allocations: 0 / 1.598 GB, free: 12.05 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.6717, allocations: 1.374 MB / 1.599 GB, free: 10.66 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/0.6723, allocations: 183.2 kB / 1.599 GB, free: 10.48 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.6724, allocations: 19.98 kB / 1.599 GB, free: 10.46 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008339/0.6733, allocations: 44.86 kB / 1.599 GB, free: 10.42 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.6734, allocations: 44.56 kB / 1.599 GB, free: 10.38 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.6734, allocations: 27.98 kB / 1.599 GB, free: 10.35 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006516/0.6741, allocations: 455 kB / 1.6 GB, free: 9.906 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/0.6741, allocations: 3.938 kB / 1.6 GB, free: 9.902 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009185/0.675, allocations: 327.5 kB / 1.6 GB, free: 9.582 MB / 1.295 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.003126/0.6781, allocations: 1.997 MB / 1.602 GB, free: 7.562 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.6798, allocations: 0.7512 MB / 1.603 GB, free: 6.809 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.6798, allocations: 4.375 kB / 1.603 GB, free: 6.805 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0007955/0.6806, allocations: 403.5 kB / 1.603 GB, free: 6.414 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/0.6832, allocations: 0.546 MB / 1.604 GB, free: 5.887 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6262/1.309, allocations: 7.371 MB / 1.611 GB, free: 255.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007162/1.31, allocations: 1.09 MB / 1.612 GB, free: 255 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009872/1.311, allocations: 236 kB / 1.612 GB, free: 254.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005519/1.312, allocations: 362 kB / 1.613 GB, free: 254.9 MB / 1.295 GB Notification: Performance of SimCode: time 8.62e-07/1.312, allocations: 1.156 kB / 1.613 GB, free: 254.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07473/1.386, allocations: 26.94 MB / 1.639 GB, free: 248.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/14, allocations: 6.438 kB / 1.639 GB, free: 248.1 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.68745675799437]