Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.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.002027/0.002027, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.002494/0.002494, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.834/2.834, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.OneRoom,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_11_Buildings_Airflow_Multizone_Examples_OneRoom",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: 75.89 kB / 1.112 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7587/0.7607, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2445/1.005, allocations: 217.4 MB / 1.491 GB, free: 3.203 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01559/1.021, allocations: 10.24 MB / 1.501 GB, free: 8.941 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/1.022, allocations: 55.56 kB / 1.501 GB, free: 8.887 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002455/1.025, allocations: 0.882 MB / 1.501 GB, free: 8 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007821/1.033, allocations: 2.976 MB / 1.504 GB, free: 5.012 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004033/1.037, allocations: 1.443 MB / 1.506 GB, free: 3.57 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00478/1.041, allocations: 3.159 MB / 1.509 GB, free: 408 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/1.043, allocations: 0.8465 MB / 1.51 GB, free: 15.53 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002532/1.046, allocations: 1.183 MB / 1.511 GB, free: 14.34 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/1.048, allocations: 1.136 MB / 1.512 GB, free: 13.2 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003786/1.049, allocations: 124 kB / 1.512 GB, free: 13.08 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00584/1.054, allocations: 2.918 MB / 1.515 GB, free: 10.16 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0009058/1.055, allocations: 0.5024 MB / 1.515 GB, free: 9.652 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001699/1.057, allocations: 0.7273 MB / 1.516 GB, free: 8.922 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006482/1.063, allocations: 2.819 MB / 1.519 GB, free: 6.094 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.064, allocations: 0 / 1.519 GB, free: 6.094 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.543e-06/1.064, allocations: 0 / 1.519 GB, free: 6.094 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.19e-05/1.064, allocations: 0 / 1.519 GB, free: 6.094 MB / 1.217 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.005078/1.069, allocations: 1.836 MB / 1.521 GB, free: 4.199 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/1.069, allocations: 8.031 kB / 1.521 GB, free: 4.191 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000331/1.069, allocations: 148 kB / 1.521 GB, free: 4.039 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/1.072, allocations: 450.6 kB / 1.521 GB, free: 3.598 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/1.074, allocations: 0.8948 MB / 1.522 GB, free: 2.66 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/1.074, allocations: 73.94 kB / 1.522 GB, free: 2.59 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/1.074, allocations: 100 kB / 1.522 GB, free: 2.492 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/1.077, allocations: 1.194 MB / 1.523 GB, free: 1.262 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.466e-05/1.077, allocations: 4 kB / 1.523 GB, free: 1.258 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.077, allocations: 43.98 kB / 1.524 GB, free: 1.215 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.327e-05/1.077, allocations: 61.91 kB / 1.524 GB, free: 1.156 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/1.079, allocations: 1.066 MB / 1.525 GB, free: 92 kB / 1.217 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.006653/1.086, allocations: 4.767 MB / 1.529 GB, free: 10.93 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/1.087, allocations: 0.9494 MB / 1.53 GB, free: 9.941 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/1.088, allocations: 0.5656 MB / 1.531 GB, free: 9.379 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007207/1.089, allocations: 0.685 MB / 1.531 GB, free: 8.547 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/1.089, allocations: 39.22 kB / 1.531 GB, free: 8.496 MB / 1.232 GB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/1.089, allocations: 0 / 1.531 GB, free: 8.496 MB / 1.232 GB Notification: Performance of matching and sorting (n=83): time 0.004941/1.094, allocations: 2.321 MB / 1.534 GB, free: 6.125 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/1.094, allocations: 60.41 kB / 1.534 GB, free: 6.051 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009924/1.095, allocations: 0.6334 MB / 1.534 GB, free: 5.406 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/1.095, allocations: 41.7 kB / 1.534 GB, free: 5.359 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/1.096, allocations: 464.9 kB / 1.535 GB, free: 4.898 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/1.096, allocations: 317.2 kB / 1.535 GB, free: 4.586 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/1.096, allocations: 134.6 kB / 1.535 GB, free: 4.449 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002091/1.096, allocations: 398.7 kB / 1.536 GB, free: 4.051 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/1.097, allocations: 321.8 kB / 1.536 GB, free: 3.738 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/1.098, allocations: 418.5 kB / 1.536 GB, free: 3.301 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/1.099, allocations: 0.7846 MB / 1.537 GB, free: 2.492 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.099, allocations: 0 / 1.537 GB, free: 2.492 MB / 1.232 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001832/1.101, allocations: 0.9584 MB / 1.538 GB, free: 1.52 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/1.101, allocations: 7.938 kB / 1.538 GB, free: 1.512 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.101, allocations: 4 kB / 1.538 GB, free: 1.508 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/1.101, allocations: 61.02 kB / 1.538 GB, free: 1.445 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007284/1.102, allocations: 155.8 kB / 1.538 GB, free: 1.293 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005686/1.102, allocations: 0.6109 MB / 1.539 GB, free: 0.6562 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009286/1.103, allocations: 23.98 kB / 1.539 GB, free: 0.6328 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/1.103, allocations: 24 kB / 1.539 GB, free: 0.6094 MB / 1.232 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.0005333/1.104, allocations: 309.6 kB / 1.539 GB, free: 304 kB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/1.104, allocations: 91.44 kB / 1.539 GB, free: 212 kB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/1.106, allocations: 0.9285 MB / 1.54 GB, free: 15.27 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.106, allocations: 8 kB / 1.54 GB, free: 15.26 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/1.106, allocations: 0 / 1.54 GB, free: 15.26 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001393/1.107, allocations: 0.931 MB / 1.541 GB, free: 14.29 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/1.111, allocations: 2.11 MB / 1.543 GB, free: 12.12 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.111, allocations: 0 / 1.543 GB, free: 12.12 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009857/1.112, allocations: 191.8 kB / 1.543 GB, free: 11.93 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-05/1.112, allocations: 7.938 kB / 1.543 GB, free: 11.93 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/1.112, allocations: 20.06 kB / 1.543 GB, free: 11.91 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.782e-06/1.112, allocations: 8 kB / 1.543 GB, free: 11.9 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.112, allocations: 0 / 1.543 GB, free: 11.9 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/1.115, allocations: 1.396 MB / 1.545 GB, free: 10.48 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005217/1.115, allocations: 256.4 kB / 1.545 GB, free: 10.21 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/1.115, allocations: 20 kB / 1.545 GB, free: 10.2 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007947/1.116, allocations: 22.61 kB / 1.545 GB, free: 10.18 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/1.116, allocations: 48.94 kB / 1.545 GB, free: 10.13 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/1.116, allocations: 27.98 kB / 1.545 GB, free: 10.1 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006659/1.117, allocations: 459 kB / 1.546 GB, free: 9.656 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.117, allocations: 0 / 1.546 GB, free: 9.656 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001026/1.118, allocations: 323.9 kB / 1.546 GB, free: 9.34 MB / 1.248 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.002992/1.121, allocations: 2.046 MB / 1.548 GB, free: 7.266 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001586/1.123, allocations: 0.77 MB / 1.549 GB, free: 6.496 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.123, allocations: 4 kB / 1.549 GB, free: 6.492 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0007005/1.123, allocations: 417.6 kB / 1.549 GB, free: 6.086 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/1.126, allocations: 0.5894 MB / 1.55 GB, free: 5.516 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/1.139, allocations: 7.547 MB / 1.557 GB, free: 13.79 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/1.14, allocations: 1.124 MB / 1.558 GB, free: 12.63 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001017/1.141, allocations: 247.8 kB / 1.558 GB, free: 12.38 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007021/1.142, allocations: 395.3 kB / 1.559 GB, free: 12 MB / 1.264 GB Notification: Performance of SimCode: time 1.553e-06/1.142, allocations: 0 / 1.559 GB, free: 12 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06886/1.211, allocations: 28.23 MB / 1.586 GB, free: 160 kB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.62, allocations: 17.69 kB / 1.586 GB, free: 148 kB / 1.279 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable oriOutTop.port_a.m_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutTop.port_a.m_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable oriOutBot.port_a.m_flow in file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutBot.port_a.m_flow from file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable volEas.T in file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable volEas.T from file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable volOut.T in file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable volOut.T from file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable oriOutTop.dp in file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutTop.dp from file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable oriOutBot.dp in file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutBot.dp from file Buildings_11_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.875399065902457]