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.001974/0.001974, allocations: 102.7 kB / 16.45 MB, free: 6.5 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.002332/0.002332, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.311/3.311, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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.002059/0.002059, allocations: 68.53 kB / 1.149 GB, free: 26.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.376, allocations: 176.1 MB / 1.321 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2219/0.5979, allocations: 166.4 MB / 1.483 GB, free: 12.49 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006942/0.6048, allocations: 3.564 MB / 1.487 GB, free: 8.918 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008804/0.6057, allocations: 27.75 kB / 1.487 GB, free: 8.891 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.6069, allocations: 286.5 kB / 1.487 GB, free: 8.609 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002808/0.6097, allocations: 0.9178 MB / 1.488 GB, free: 7.688 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.6112, allocations: 445.9 kB / 1.488 GB, free: 7.254 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002043/0.6133, allocations: 1.102 MB / 1.489 GB, free: 6.145 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006523/0.6139, allocations: 288.1 kB / 1.49 GB, free: 5.859 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.6152, allocations: 474.2 kB / 1.49 GB, free: 5.395 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.6165, allocations: 377.6 kB / 1.49 GB, free: 5.027 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.6166, allocations: 40 kB / 1.491 GB, free: 4.988 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.6185, allocations: 0.7405 MB / 1.491 GB, free: 4.246 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.6189, allocations: 175.4 kB / 1.491 GB, free: 4.074 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005904/0.6195, allocations: 274.6 kB / 1.492 GB, free: 3.805 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.622, allocations: 0.9498 MB / 1.493 GB, free: 2.852 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.622, allocations: 0 / 1.493 GB, free: 2.852 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.693e-06/0.622, allocations: 0 / 1.493 GB, free: 2.852 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.41e-05/0.622, allocations: 0 / 1.493 GB, free: 2.852 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.002094/0.6241, allocations: 0.8983 MB / 1.493 GB, free: 1.898 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.6242, allocations: 11.98 kB / 1.493 GB, free: 1.887 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.6243, allocations: 66.48 kB / 1.494 GB, free: 1.812 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.6255, allocations: 155.5 kB / 1.494 GB, free: 1.66 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.6267, allocations: 0.5052 MB / 1.494 GB, free: 1.113 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.6267, allocations: 20.56 kB / 1.494 GB, free: 1.094 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.952e-05/0.6268, allocations: 32 kB / 1.494 GB, free: 1.062 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006543/0.6274, allocations: 315.6 kB / 1.495 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.6274, allocations: 4 kB / 1.495 GB, free: 0.7383 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.6275, allocations: 19.97 kB / 1.495 GB, free: 0.7188 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.6275, allocations: 16.56 kB / 1.495 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/0.628, allocations: 222 kB / 1.495 GB, free: 496 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.002534/0.6305, allocations: 1.53 MB / 1.496 GB, free: 14.8 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.6309, allocations: 198.8 kB / 1.496 GB, free: 14.59 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002021/0.6312, allocations: 108.8 kB / 1.497 GB, free: 14.48 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.6312, allocations: 4 kB / 1.497 GB, free: 14.48 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003513/0.6315, allocations: 165 kB / 1.497 GB, free: 14.31 MB / 1.201 GB Notification: Performance of pre-optimization done (n=26): time 1.764e-06/0.6315, allocations: 3.938 kB / 1.497 GB, free: 14.3 MB / 1.201 GB Notification: Performance of matching and sorting (n=29): time 0.003368/0.6349, allocations: 1.108 MB / 1.498 GB, free: 13.14 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.635, allocations: 59.34 kB / 1.498 GB, free: 13.07 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006887/0.6356, allocations: 469.9 kB / 1.498 GB, free: 12.61 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.6357, allocations: 29.7 kB / 1.498 GB, free: 12.57 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.6359, allocations: 244.6 kB / 1.499 GB, free: 12.33 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.6361, allocations: 107 kB / 1.499 GB, free: 12.22 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.6362, allocations: 74.03 kB / 1.499 GB, free: 12.14 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002245/0.6364, allocations: 358.8 kB / 1.499 GB, free: 11.79 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.6367, allocations: 128.7 kB / 1.499 GB, free: 11.66 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.637, allocations: 182.9 kB / 1.499 GB, free: 11.46 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.6376, allocations: 311.3 kB / 1.5 GB, free: 11.14 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6376, allocations: 0 / 1.5 GB, free: 11.14 MB / 1.201 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001126/0.6387, allocations: 494.4 kB / 1.5 GB, free: 10.65 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.6387, allocations: 10.5 kB / 1.5 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6387, allocations: 0 / 1.5 GB, free: 10.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000388/0.6391, allocations: 84.73 kB / 1.5 GB, free: 10.56 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002886/0.6394, allocations: 67.91 kB / 1.5 GB, free: 10.49 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002283/0.6417, allocations: 1.916 MB / 1.502 GB, free: 8.441 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.642, allocations: 8.031 kB / 1.502 GB, free: 8.434 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.6421, allocations: 19.98 kB / 1.502 GB, free: 8.414 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.0002708/0.6424, allocations: 185.7 kB / 1.502 GB, free: 8.223 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.965e-05/0.6425, allocations: 51.67 kB / 1.502 GB, free: 8.172 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.6426, allocations: 60.64 kB / 1.503 GB, free: 8.113 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.6426, allocations: 4.062 kB / 1.503 GB, free: 8.109 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6426, allocations: 4 kB / 1.503 GB, free: 8.105 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6426, allocations: 0 / 1.503 GB, free: 8.105 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.6444, allocations: 0.9686 MB / 1.503 GB, free: 7.078 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6444, allocations: 0 / 1.503 GB, free: 7.078 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.6448, allocations: 67.91 kB / 1.504 GB, free: 7.012 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00033/0.6452, allocations: 80.78 kB / 1.504 GB, free: 6.93 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.6452, allocations: 11.94 kB / 1.504 GB, free: 6.918 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.647, allocations: 1.649 MB / 1.505 GB, free: 5.125 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.647, allocations: 0 / 1.505 GB, free: 5.125 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.6481, allocations: 0.5749 MB / 1.506 GB, free: 4.531 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.6484, allocations: 152.8 kB / 1.506 GB, free: 4.363 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.6484, allocations: 8 kB / 1.506 GB, free: 4.355 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.6488, allocations: 17.81 kB / 1.506 GB, free: 4.34 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.6488, allocations: 27.97 kB / 1.506 GB, free: 4.312 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.6489, allocations: 8 kB / 1.506 GB, free: 4.305 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004227/0.6493, allocations: 315.1 kB / 1.506 GB, free: 4 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6493, allocations: 0 / 1.506 GB, free: 4 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0005878/0.6499, allocations: 131.9 kB / 1.506 GB, free: 3.871 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.003089/0.653, allocations: 1.441 MB / 1.508 GB, free: 2.559 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008552/0.6538, allocations: 398.7 kB / 1.508 GB, free: 2.156 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6538, allocations: 3.938 kB / 1.508 GB, free: 2.152 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003698/0.6542, allocations: 246.5 kB / 1.508 GB, free: 1.898 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.6554, allocations: 246.5 kB / 1.509 GB, free: 1.668 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00732/0.6628, allocations: 4.164 MB / 1.513 GB, free: 13.38 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.6634, allocations: 0.858 MB / 1.514 GB, free: 12.49 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000366/0.6637, allocations: 76.34 kB / 1.514 GB, free: 12.42 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.664, allocations: 151.4 kB / 1.514 GB, free: 12.27 MB / 1.217 GB Notification: Performance of SimCode: time 9.92e-07/0.664, allocations: 4 kB / 1.514 GB, free: 12.27 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05451/0.7185, allocations: 13.09 MB / 1.527 GB, free: 15.36 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.84, allocations: 9.797 kB / 1.527 GB, free: 15.35 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv --start-time 0 --stop-time 172800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 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.csv","/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] "Error: Could not read variable vol.T_start in file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.97632484207861]