Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 106.2 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.032/3.032, allocations: 497.2 MB / 0.7811 GB, free: 33.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 66.23 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.318, allocations: 173.9 MB / 1.304 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2335/0.5515, allocations: 214.5 MB / 1.513 GB, free: 10.22 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01568/0.5671, allocations: 10.22 MB / 1.523 GB, free: 15.97 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.5688, allocations: 43.75 kB / 1.523 GB, free: 15.93 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.5714, allocations: 0.878 MB / 1.524 GB, free: 15.05 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.008211/0.5796, allocations: 2.991 MB / 1.527 GB, free: 12.04 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.5834, allocations: 1.433 MB / 1.529 GB, free: 10.61 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004515/0.5879, allocations: 3.171 MB / 1.532 GB, free: 7.43 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.5895, allocations: 0.8426 MB / 1.533 GB, free: 6.562 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002487/0.5919, allocations: 1.281 MB / 1.534 GB, free: 5.277 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/0.5945, allocations: 1.141 MB / 1.535 GB, free: 4.137 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003719/0.5949, allocations: 120 kB / 1.535 GB, free: 4.02 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005665/0.6005, allocations: 2.899 MB / 1.538 GB, free: 1.113 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0008063/0.6013, allocations: 0.4946 MB / 1.538 GB, free: 0.6172 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001539/0.6029, allocations: 0.7313 MB / 1.539 GB, free: 15.88 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.00608/0.609, allocations: 2.823 MB / 1.542 GB, free: 13.05 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.609, allocations: 0 / 1.542 GB, free: 13.05 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.774e-06/0.609, allocations: 7.938 kB / 1.542 GB, free: 13.04 MB / 1.248 GB Notification: Performance of Transformations before backend: time 6.016e-05/0.609, allocations: 0 / 1.542 GB, free: 13.04 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005267/0.6143, allocations: 1.836 MB / 1.544 GB, free: 11.15 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.6143, allocations: 8.625 kB / 1.544 GB, free: 11.14 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003027/0.6146, allocations: 152 kB / 1.544 GB, free: 10.98 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/0.6179, allocations: 442.7 kB / 1.544 GB, free: 10.55 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.6198, allocations: 0.8949 MB / 1.545 GB, free: 9.613 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.777e-05/0.6198, allocations: 70 kB / 1.545 GB, free: 9.547 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.6201, allocations: 99.95 kB / 1.545 GB, free: 9.449 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.6223, allocations: 1.194 MB / 1.546 GB, free: 8.219 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.6224, allocations: 0 / 1.546 GB, free: 8.219 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.6225, allocations: 44 kB / 1.546 GB, free: 8.176 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.887e-05/0.6226, allocations: 53.92 kB / 1.546 GB, free: 8.125 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.6246, allocations: 1.073 MB / 1.548 GB, free: 7.047 MB / 1.248 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.006972/0.6316, allocations: 4.925 MB / 1.552 GB, free: 1.691 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001618/0.6332, allocations: 0.9489 MB / 1.553 GB, free: 0.6992 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.6343, allocations: 0.5635 MB / 1.554 GB, free: 136 kB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/0.635, allocations: 0.6733 MB / 1.554 GB, free: 15.31 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.6351, allocations: 47.22 kB / 1.555 GB, free: 15.25 MB / 1.264 GB Notification: Performance of pre-optimization done (n=82): time 3.196e-06/0.6351, allocations: 0 / 1.555 GB, free: 15.25 MB / 1.264 GB Notification: Performance of matching and sorting (n=83): time 0.004499/0.6396, allocations: 2.321 MB / 1.557 GB, free: 12.89 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.6396, allocations: 60.41 kB / 1.557 GB, free: 12.82 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008289/0.6404, allocations: 0.6373 MB / 1.557 GB, free: 12.17 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/0.6405, allocations: 45.7 kB / 1.557 GB, free: 12.12 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/0.6408, allocations: 464.9 kB / 1.558 GB, free: 11.66 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.6411, allocations: 305.3 kB / 1.558 GB, free: 11.36 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.6413, allocations: 138.6 kB / 1.558 GB, free: 11.21 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.6415, allocations: 394.7 kB / 1.559 GB, free: 10.82 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/0.6421, allocations: 321.8 kB / 1.559 GB, free: 10.51 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.6427, allocations: 430.5 kB / 1.559 GB, free: 10.06 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.6438, allocations: 0.7768 MB / 1.56 GB, free: 9.258 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6439, allocations: 4 kB / 1.56 GB, free: 9.254 MB / 1.264 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001617/0.6455, allocations: 0.947 MB / 1.561 GB, free: 8.297 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.6455, allocations: 18.31 kB / 1.561 GB, free: 8.281 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6455, allocations: 0 / 1.561 GB, free: 8.281 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002915/0.6458, allocations: 56.83 kB / 1.561 GB, free: 8.223 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007195/0.6465, allocations: 163.7 kB / 1.561 GB, free: 8.062 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000543/0.6471, allocations: 0.6071 MB / 1.562 GB, free: 7.43 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007866/0.6478, allocations: 28.05 kB / 1.562 GB, free: 7.402 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.506e-05/0.6479, allocations: 20 kB / 1.562 GB, free: 7.383 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004918/0.6484, allocations: 315.7 kB / 1.562 GB, free: 7.066 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.6486, allocations: 91.44 kB / 1.562 GB, free: 6.977 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.6503, allocations: 0.9285 MB / 1.563 GB, free: 6.039 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.6503, allocations: 8 kB / 1.563 GB, free: 6.031 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.6503, allocations: 3.984 kB / 1.563 GB, free: 6.027 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001302/0.6516, allocations: 0.9348 MB / 1.564 GB, free: 5.043 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003565/0.6552, allocations: 2.118 MB / 1.566 GB, free: 2.867 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6552, allocations: 0 / 1.566 GB, free: 2.867 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009614/0.6562, allocations: 187.8 kB / 1.566 GB, free: 2.684 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.6562, allocations: 7.938 kB / 1.566 GB, free: 2.676 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.651e-05/0.6562, allocations: 23.98 kB / 1.567 GB, free: 2.652 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6562, allocations: 0 / 1.567 GB, free: 2.652 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6562, allocations: 0 / 1.567 GB, free: 2.652 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.6583, allocations: 1.393 MB / 1.568 GB, free: 1.246 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005122/0.6588, allocations: 252.4 kB / 1.568 GB, free: 0.9805 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.659, allocations: 23.98 kB / 1.568 GB, free: 0.957 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006924/0.6597, allocations: 23.94 kB / 1.568 GB, free: 0.9336 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.6598, allocations: 52.92 kB / 1.568 GB, free: 0.8789 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.6598, allocations: 23.98 kB / 1.568 GB, free: 0.8555 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0006002/0.6604, allocations: 459 kB / 1.569 GB, free: 420 kB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6604, allocations: 0 / 1.569 GB, free: 420 kB / 1.264 GB Notification: Performance of remove unused functions: time 0.0008914/0.6613, allocations: 319.9 kB / 1.569 GB, free: 100 kB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.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 (83): * Single equations (assignments): 83 * 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.002631/0.664, allocations: 2.051 MB / 1.571 GB, free: 14.02 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.6654, allocations: 0.7739 MB / 1.572 GB, free: 13.25 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6654, allocations: 0 / 1.572 GB, free: 13.25 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006215/0.666, allocations: 414 kB / 1.572 GB, free: 12.85 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.6685, allocations: 0.5934 MB / 1.573 GB, free: 12.27 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.6799, allocations: 7.551 MB / 1.58 GB, free: 4.535 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000866/0.6807, allocations: 1.128 MB / 1.581 GB, free: 3.379 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009606/0.6817, allocations: 247.8 kB / 1.581 GB, free: 3.133 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005766/0.6823, allocations: 391.3 kB / 1.582 GB, free: 2.75 MB / 1.279 GB Notification: Performance of SimCode: time 5.51e-07/0.6823, allocations: 0 / 1.582 GB, free: 2.75 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6603/1.343, allocations: 28.23 MB / 1.609 GB, free: 294.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/14.26, allocations: 5.5 kB / 1.609 GB, free: 294.5 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.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.720771363005042]