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.001608/0.001608, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002059/0.002059, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.356/3.356, allocations: 0.49 GB / 0.7959 GB, free: 33.69 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_12_Buildings_Examples_Tutorial_Boiler_System1",fmuType="cs",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.001965/0.001965, allocations: 73.39 kB / 1.155 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3939, allocations: 176.1 MB / 1.327 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.226/0.6199, allocations: 166.5 MB / 1.489 GB, free: 10.85 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.00763/0.6276, allocations: 3.584 MB / 1.493 GB, free: 7.254 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009485/0.6285, allocations: 23.81 kB / 1.493 GB, free: 7.23 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.6295, allocations: 286.4 kB / 1.493 GB, free: 6.949 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.6325, allocations: 0.9343 MB / 1.494 GB, free: 6.012 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.6339, allocations: 460.3 kB / 1.494 GB, free: 5.562 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002046/0.6359, allocations: 1.153 MB / 1.496 GB, free: 4.41 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006104/0.6365, allocations: 284.5 kB / 1.496 GB, free: 4.121 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009897/0.6375, allocations: 470.3 kB / 1.496 GB, free: 3.66 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.6386, allocations: 382.1 kB / 1.497 GB, free: 3.289 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.314e-05/0.6387, allocations: 40 kB / 1.497 GB, free: 3.25 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.6403, allocations: 0.7483 MB / 1.497 GB, free: 2.5 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.6406, allocations: 171.4 kB / 1.498 GB, free: 2.332 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.6409, allocations: 274.6 kB / 1.498 GB, free: 2.062 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.6425, allocations: 0.9576 MB / 1.499 GB, free: 1.102 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6425, allocations: 0 / 1.499 GB, free: 1.102 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6425, allocations: 0 / 1.499 GB, free: 1.102 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.6425, allocations: 0 / 1.499 GB, free: 1.102 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.001644/0.6442, allocations: 0.8192 MB / 1.5 GB, free: 256 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.6442, allocations: 8.031 kB / 1.5 GB, free: 248 kB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.215e-05/0.6443, allocations: 8.656 kB / 1.5 GB, free: 240 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.6444, allocations: 70.53 kB / 1.5 GB, free: 160 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.6454, allocations: 151.5 kB / 1.5 GB, free: 8 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008678/0.6463, allocations: 458.2 kB / 1.5 GB, free: 15.54 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.6463, allocations: 24.66 kB / 1.5 GB, free: 15.51 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.6464, allocations: 24 kB / 1.5 GB, free: 15.49 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.647, allocations: 325 kB / 1.501 GB, free: 15.16 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.647, allocations: 4 kB / 1.501 GB, free: 15.15 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.6471, allocations: 12 kB / 1.501 GB, free: 15.14 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.6471, allocations: 8.656 kB / 1.501 GB, free: 15.13 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.6475, allocations: 230.4 kB / 1.501 GB, free: 14.91 MB / 1.201 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.002372/0.6499, allocations: 1.48 MB / 1.502 GB, free: 13.27 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.6504, allocations: 220 kB / 1.502 GB, free: 13.05 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.6505, allocations: 104.8 kB / 1.503 GB, free: 12.95 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.6506, allocations: 0 / 1.503 GB, free: 12.95 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003546/0.6509, allocations: 171.2 kB / 1.503 GB, free: 12.77 MB / 1.201 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.6509, allocations: 0 / 1.503 GB, free: 12.77 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.00312/0.6541, allocations: 1.015 MB / 1.504 GB, free: 11.71 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.6541, allocations: 59.34 kB / 1.504 GB, free: 11.64 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006128/0.6547, allocations: 473.9 kB / 1.504 GB, free: 11.18 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.6548, allocations: 37.7 kB / 1.504 GB, free: 11.13 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.655, allocations: 240.5 kB / 1.504 GB, free: 10.89 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.6551, allocations: 115.1 kB / 1.505 GB, free: 10.78 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.6552, allocations: 70.03 kB / 1.505 GB, free: 10.71 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.6554, allocations: 358.8 kB / 1.505 GB, free: 10.35 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.6557, allocations: 128.7 kB / 1.505 GB, free: 10.22 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.656, allocations: 190.7 kB / 1.505 GB, free: 10.02 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.6565, allocations: 303.4 kB / 1.506 GB, free: 9.707 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6565, allocations: 4 kB / 1.506 GB, free: 9.703 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00107/0.6576, allocations: 490.4 kB / 1.506 GB, free: 9.215 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.6576, allocations: 4 kB / 1.506 GB, free: 9.211 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.6576, allocations: 4 kB / 1.506 GB, free: 9.207 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/0.658, allocations: 84.95 kB / 1.506 GB, free: 9.121 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.6583, allocations: 59.91 kB / 1.506 GB, free: 9.062 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.6604, allocations: 1.809 MB / 1.508 GB, free: 7.145 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.6608, allocations: 12 kB / 1.508 GB, free: 7.133 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.6608, allocations: 16.06 kB / 1.508 GB, free: 7.117 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.0003331/0.6612, allocations: 196.8 kB / 1.508 GB, free: 6.918 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/0.6612, allocations: 47.72 kB / 1.508 GB, free: 6.871 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009417/0.6622, allocations: 403.2 kB / 1.509 GB, free: 6.465 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.902e-06/0.6622, allocations: 7.938 kB / 1.509 GB, free: 6.457 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.6622, allocations: 0 / 1.509 GB, free: 6.457 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6622, allocations: 0 / 1.509 GB, free: 6.457 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.6639, allocations: 0.9474 MB / 1.51 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.6639, allocations: 4 kB / 1.51 GB, free: 5.453 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.6643, allocations: 67.91 kB / 1.51 GB, free: 5.387 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003188/0.6646, allocations: 72.78 kB / 1.51 GB, free: 5.312 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.6647, allocations: 12 kB / 1.51 GB, free: 5.301 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.6663, allocations: 1.541 MB / 1.511 GB, free: 3.645 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6663, allocations: 64 / 1.511 GB, free: 3.645 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.6674, allocations: 0.5753 MB / 1.512 GB, free: 3.051 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001973/0.6676, allocations: 75.72 kB / 1.512 GB, free: 2.977 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.6676, allocations: 12 kB / 1.512 GB, free: 2.965 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.668, allocations: 12 kB / 1.512 GB, free: 2.953 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.6681, allocations: 31.89 kB / 1.512 GB, free: 2.922 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.6681, allocations: 15.98 kB / 1.512 GB, free: 2.906 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004027/0.6685, allocations: 311.1 kB / 1.512 GB, free: 2.602 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6685, allocations: 0 / 1.512 GB, free: 2.602 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005806/0.6691, allocations: 127.9 kB / 1.512 GB, free: 2.477 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.00301/0.6721, allocations: 1.444 MB / 1.514 GB, free: 1.16 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008887/0.673, allocations: 410.7 kB / 1.514 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.673, allocations: 0 / 1.514 GB, free: 0.7461 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.6733, allocations: 246.5 kB / 1.514 GB, free: 0.4922 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.6745, allocations: 245.6 kB / 1.515 GB, free: 272 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006722/0.6813, allocations: 4.171 MB / 1.519 GB, free: 11.97 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/0.6818, allocations: 0.8619 MB / 1.52 GB, free: 11.08 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004775/0.6823, allocations: 84.33 kB / 1.52 GB, free: 11 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.6826, allocations: 159.4 kB / 1.52 GB, free: 10.84 MB / 1.217 GB Notification: Performance of SimCode: time 1.262e-06/0.6826, allocations: 0 / 1.52 GB, free: 10.84 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04708/0.7297, allocations: 13.39 MB / 1.533 GB, free: 13.65 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.6, allocations: 12.08 kB / 1.533 GB, free: 13.64 MB / 1.232 GB " [Timeout remaining time 286] (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: 21.005463286011945]