Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001287/0.001287, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001401/0.001401, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.188/3.188, allocations: 0.4892 GB / 0.7943 GB, free: 35.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_12_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.002034/0.002034, allocations: 65.91 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3707, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2356/0.6064, allocations: 189.4 MB / 1.51 GB, free: 4.305 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01487/0.6212, allocations: 9.498 MB / 1.519 GB, free: 10.79 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001395/0.6226, allocations: 51.62 kB / 1.519 GB, free: 10.73 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.6248, allocations: 0.7963 MB / 1.52 GB, free: 9.934 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.007496/0.6323, allocations: 3.017 MB / 1.523 GB, free: 6.906 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/0.636, allocations: 1.441 MB / 1.524 GB, free: 5.465 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.005055/0.6411, allocations: 3.218 MB / 1.528 GB, free: 2.234 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.6424, allocations: 0.7649 MB / 1.528 GB, free: 1.449 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/0.6451, allocations: 1.308 MB / 1.53 GB, free: 140 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.6477, allocations: 1.087 MB / 1.531 GB, free: 15.05 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.6479, allocations: 124 kB / 1.531 GB, free: 14.93 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004912/0.6529, allocations: 2.236 MB / 1.533 GB, free: 12.69 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006437/0.6535, allocations: 0.5062 MB / 1.534 GB, free: 12.18 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.000976/0.6545, allocations: 0.6069 MB / 1.534 GB, free: 11.57 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005577/0.66, allocations: 2.745 MB / 1.537 GB, free: 8.816 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.6601, allocations: 0 / 1.537 GB, free: 8.816 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6601, allocations: 4 kB / 1.537 GB, free: 8.812 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.294e-05/0.6601, allocations: 0 / 1.537 GB, free: 8.812 MB / 1.232 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.00428/0.6644, allocations: 1.757 MB / 1.538 GB, free: 7.016 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.6644, allocations: 12.03 kB / 1.539 GB, free: 7.004 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001986/0.6646, allocations: 148 kB / 1.539 GB, free: 6.852 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/0.6675, allocations: 438.7 kB / 1.539 GB, free: 6.422 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.6692, allocations: 0.811 MB / 1.54 GB, free: 5.578 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/0.6693, allocations: 77.98 kB / 1.54 GB, free: 5.504 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.6695, allocations: 104 kB / 1.54 GB, free: 5.402 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/0.6716, allocations: 1.398 MB / 1.541 GB, free: 3.918 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.6717, allocations: 4 kB / 1.541 GB, free: 3.914 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.596e-05/0.6718, allocations: 36 kB / 1.541 GB, free: 3.879 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-05/0.6718, allocations: 53.92 kB / 1.541 GB, free: 3.828 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.6737, allocations: 1.07 MB / 1.543 GB, free: 2.754 MB / 1.232 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.005287/0.679, allocations: 3.142 MB / 1.546 GB, free: 15.53 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.6804, allocations: 0.8071 MB / 1.546 GB, free: 14.71 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.6815, allocations: 0.5558 MB / 1.547 GB, free: 14.16 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000361/0.6819, allocations: 76.59 kB / 1.547 GB, free: 14.08 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.6819, allocations: 43.22 kB / 1.547 GB, free: 14.03 MB / 1.248 GB Notification: Performance of pre-optimization done (n=82): time 2.324e-06/0.6819, allocations: 0 / 1.547 GB, free: 14.03 MB / 1.248 GB Notification: Performance of matching and sorting (n=83): time 0.004421/0.6864, allocations: 2.242 MB / 1.549 GB, free: 11.75 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.6864, allocations: 68.28 kB / 1.549 GB, free: 11.67 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008258/0.6872, allocations: 0.6451 MB / 1.55 GB, free: 11.02 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 7.285e-05/0.6873, allocations: 41.7 kB / 1.55 GB, free: 10.97 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.6877, allocations: 456.9 kB / 1.55 GB, free: 10.52 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.6879, allocations: 321.2 kB / 1.551 GB, free: 10.2 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.6882, allocations: 134.6 kB / 1.551 GB, free: 10.07 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.6884, allocations: 398.7 kB / 1.551 GB, free: 9.668 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.6889, allocations: 321.8 kB / 1.552 GB, free: 9.355 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/0.6895, allocations: 418.5 kB / 1.552 GB, free: 8.918 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/0.6908, allocations: 0.7885 MB / 1.553 GB, free: 8.105 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6908, allocations: 0 / 1.553 GB, free: 8.105 MB / 1.248 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001612/0.6924, allocations: 0.9506 MB / 1.554 GB, free: 7.145 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.6924, allocations: 5.875 kB / 1.554 GB, free: 7.141 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.6924, allocations: 7.938 kB / 1.554 GB, free: 7.133 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002556/0.6927, allocations: 65.08 kB / 1.554 GB, free: 7.066 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/0.6934, allocations: 151.8 kB / 1.554 GB, free: 6.918 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000507/0.6939, allocations: 0.607 MB / 1.554 GB, free: 6.285 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007707/0.6946, allocations: 27.94 kB / 1.554 GB, free: 6.258 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.306e-05/0.6947, allocations: 24 kB / 1.554 GB, free: 6.234 MB / 1.248 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.0004769/0.6952, allocations: 305.6 kB / 1.555 GB, free: 5.926 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.6953, allocations: 99.5 kB / 1.555 GB, free: 5.828 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.6969, allocations: 0.9246 MB / 1.556 GB, free: 4.891 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.697, allocations: 8 kB / 1.556 GB, free: 4.883 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.697, allocations: 0 / 1.556 GB, free: 4.883 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001317/0.6983, allocations: 0.9271 MB / 1.557 GB, free: 3.91 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003213/0.7015, allocations: 1.926 MB / 1.559 GB, free: 1.938 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.7015, allocations: 0 / 1.559 GB, free: 1.938 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000945/0.7024, allocations: 187.8 kB / 1.559 GB, free: 1.754 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.7025, allocations: 3.938 kB / 1.559 GB, free: 1.75 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.689e-05/0.7025, allocations: 23.98 kB / 1.559 GB, free: 1.727 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.7025, allocations: 4 kB / 1.559 GB, free: 1.723 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7025, allocations: 0 / 1.559 GB, free: 1.723 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002349/0.7049, allocations: 1.396 MB / 1.56 GB, free: 316 kB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005529/0.7054, allocations: 183.3 kB / 1.56 GB, free: 132 kB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.7055, allocations: 16 kB / 1.56 GB, free: 116 kB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006987/0.7062, allocations: 27.94 kB / 1.56 GB, free: 88 kB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.7064, allocations: 52.89 kB / 1.56 GB, free: 36 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.554e-05/0.7064, allocations: 27.98 kB / 1.56 GB, free: 8 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000688/0.7071, allocations: 455 kB / 1.561 GB, free: 15.57 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7071, allocations: 0 / 1.561 GB, free: 15.57 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009244/0.708, allocations: 315.9 kB / 1.561 GB, free: 15.26 MB / 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.002741/0.7108, allocations: 2.05 MB / 1.563 GB, free: 13.18 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.7123, allocations: 0.7738 MB / 1.564 GB, free: 12.41 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7123, allocations: 3.938 kB / 1.564 GB, free: 12.4 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006234/0.7129, allocations: 409.6 kB / 1.564 GB, free: 12 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.7154, allocations: 0.5974 MB / 1.565 GB, free: 11.43 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.7265, allocations: 7.559 MB / 1.572 GB, free: 3.684 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005976/0.7271, allocations: 0.5281 MB / 1.573 GB, free: 3.121 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009533/0.7281, allocations: 259.8 kB / 1.573 GB, free: 2.863 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005883/0.7287, allocations: 391.3 kB / 1.573 GB, free: 2.48 MB / 1.264 GB Notification: Performance of SimCode: time 9.12e-07/0.7287, allocations: 0 / 1.573 GB, free: 2.48 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07198/0.8006, allocations: 30.85 MB / 1.604 GB, free: 4.262 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.37, allocations: 4 kB / 1.604 GB, free: 4.258 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutTop.port_a.m_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable oriOutBot.port_a.m_flow in file Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutBot.port_a.m_flow from file Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable volEas.T in file Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable volEas.T from file Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable volOut.T in file Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable volOut.T from file Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable oriOutTop.dp in file Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutTop.dp from file Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! Error: Could not read variable oriOutBot.dp in file Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv. Warning: Get data of variable oriOutBot.dp from file Buildings_12_Buildings.Airflow.Multizone.Examples.OneRoom_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.762121671345085]