Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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.001741/0.001741, allocations: 104.8 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.001999/0.001999, allocations: 212.9 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.235/3.235, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",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.002172/0.002172, allocations: 69.28 kB / 1.149 GB, free: 26.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3704, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1968/0.5672, allocations: 166.4 MB / 1.483 GB, free: 12.38 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00614/0.5733, allocations: 3.576 MB / 1.487 GB, free: 8.793 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006425/0.574, allocations: 23.81 kB / 1.487 GB, free: 8.77 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008959/0.5749, allocations: 286.4 kB / 1.487 GB, free: 8.488 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.5774, allocations: 0.9217 MB / 1.488 GB, free: 7.562 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.5787, allocations: 453.5 kB / 1.488 GB, free: 7.121 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001773/0.5805, allocations: 1.106 MB / 1.489 GB, free: 6.008 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.5809, allocations: 280.2 kB / 1.49 GB, free: 5.73 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008129/0.5818, allocations: 470.2 kB / 1.49 GB, free: 5.27 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009677/0.5827, allocations: 378.4 kB / 1.491 GB, free: 4.898 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.324e-05/0.5828, allocations: 40 kB / 1.491 GB, free: 4.859 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.5844, allocations: 0.7405 MB / 1.491 GB, free: 4.117 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.5847, allocations: 179.4 kB / 1.491 GB, free: 3.941 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003129/0.585, allocations: 270.6 kB / 1.492 GB, free: 3.676 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.5865, allocations: 0.9498 MB / 1.493 GB, free: 2.723 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.5865, allocations: 0 / 1.493 GB, free: 2.723 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5865, allocations: 0 / 1.493 GB, free: 2.723 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.5865, allocations: 0 / 1.493 GB, free: 2.723 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001688/0.5882, allocations: 0.8944 MB / 1.493 GB, free: 1.773 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.5882, allocations: 11.98 kB / 1.494 GB, free: 1.762 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.298e-05/0.5883, allocations: 66.53 kB / 1.494 GB, free: 1.688 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.5894, allocations: 155.5 kB / 1.494 GB, free: 1.535 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008453/0.5903, allocations: 0.5129 MB / 1.494 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.5903, allocations: 24.56 kB / 1.494 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.5904, allocations: 28 kB / 1.494 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000597/0.591, allocations: 319.6 kB / 1.495 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.591, allocations: 0 / 1.495 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.591, allocations: 12 kB / 1.495 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.591, allocations: 20.55 kB / 1.495 GB, free: 0.5781 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.5915, allocations: 222.1 kB / 1.495 GB, free: 368 kB / 1.186 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.002177/0.5936, allocations: 1.526 MB / 1.496 GB, free: 14.68 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.5941, allocations: 208.8 kB / 1.497 GB, free: 14.46 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.5943, allocations: 108.8 kB / 1.497 GB, free: 14.36 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.5943, allocations: 4 kB / 1.497 GB, free: 14.35 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003304/0.5946, allocations: 164.9 kB / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.5946, allocations: 0 / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.003072/0.5977, allocations: 1.1 MB / 1.498 GB, free: 13.02 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.5977, allocations: 59.28 kB / 1.498 GB, free: 12.95 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.5983, allocations: 465.9 kB / 1.498 GB, free: 12.5 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.5984, allocations: 37.7 kB / 1.498 GB, free: 12.45 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.5986, allocations: 240.5 kB / 1.499 GB, free: 12.21 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.5987, allocations: 111 kB / 1.499 GB, free: 12.1 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.5989, allocations: 81.95 kB / 1.499 GB, free: 12.02 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.599, allocations: 358.8 kB / 1.499 GB, free: 11.66 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.5993, allocations: 128.7 kB / 1.499 GB, free: 11.53 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/0.5996, allocations: 178.9 kB / 1.499 GB, free: 11.34 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.6001, allocations: 311.4 kB / 1.5 GB, free: 11.02 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6001, allocations: 0 / 1.5 GB, free: 11.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001057/0.6011, allocations: 0.4906 MB / 1.5 GB, free: 10.52 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.6011, allocations: 4 kB / 1.5 GB, free: 10.52 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6012, allocations: 4 kB / 1.5 GB, free: 10.51 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003696/0.6015, allocations: 80.8 kB / 1.5 GB, free: 10.43 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.6018, allocations: 63.91 kB / 1.5 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.6039, allocations: 1.908 MB / 1.502 GB, free: 8.324 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.6043, allocations: 8 kB / 1.502 GB, free: 8.316 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.6043, allocations: 19.94 kB / 1.502 GB, free: 8.297 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003031/0.6046, allocations: 195.3 kB / 1.502 GB, free: 8.098 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.6047, allocations: 51.67 kB / 1.502 GB, free: 8.047 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.6048, allocations: 52.66 kB / 1.503 GB, free: 7.996 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.6048, allocations: 7.984 kB / 1.503 GB, free: 7.988 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.6048, allocations: 4.062 kB / 1.503 GB, free: 7.984 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6048, allocations: 4 kB / 1.503 GB, free: 7.98 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.6065, allocations: 0.9725 MB / 1.503 GB, free: 6.949 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6065, allocations: 0 / 1.503 GB, free: 6.949 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.6069, allocations: 55.97 kB / 1.504 GB, free: 6.895 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003205/0.6072, allocations: 84.73 kB / 1.504 GB, free: 6.809 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.6072, allocations: 11.92 kB / 1.504 GB, free: 6.797 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.6089, allocations: 1.649 MB / 1.505 GB, free: 5.004 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6089, allocations: 0 / 1.505 GB, free: 5.004 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.61, allocations: 0.5712 MB / 1.506 GB, free: 4.414 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.6102, allocations: 148.9 kB / 1.506 GB, free: 4.25 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.6103, allocations: 15.98 kB / 1.506 GB, free: 4.234 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.6107, allocations: 19.86 kB / 1.506 GB, free: 4.215 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.939e-05/0.6107, allocations: 15.98 kB / 1.506 GB, free: 4.199 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.6108, allocations: 15.98 kB / 1.506 GB, free: 4.184 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003957/0.6112, allocations: 311.1 kB / 1.506 GB, free: 3.879 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6112, allocations: 4 kB / 1.506 GB, free: 3.875 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005651/0.6117, allocations: 123.9 kB / 1.506 GB, free: 3.754 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002957/0.6147, allocations: 1.445 MB / 1.508 GB, free: 2.441 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008285/0.6155, allocations: 406.7 kB / 1.508 GB, free: 2.031 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6155, allocations: 0 / 1.508 GB, free: 2.031 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.6158, allocations: 246.5 kB / 1.508 GB, free: 1.777 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.6171, allocations: 252.8 kB / 1.509 GB, free: 1.539 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00673/0.6238, allocations: 4.156 MB / 1.513 GB, free: 13.26 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.6243, allocations: 0.8541 MB / 1.514 GB, free: 12.38 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003744/0.6247, allocations: 88.31 kB / 1.514 GB, free: 12.29 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.6249, allocations: 155.4 kB / 1.514 GB, free: 12.14 MB / 1.217 GB Notification: Performance of SimCode: time 1.092e-06/0.6249, allocations: 4 kB / 1.514 GB, free: 12.14 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05255/0.6775, allocations: 13.09 MB / 1.527 GB, free: 15.23 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.8, allocations: 9.391 kB / 1.527 GB, free: 15.23 MB / 1.232 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_12_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.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: 18.661735189147294]