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.001646/0.001646, allocations: 99.75 kB / 18.94 MB, free: 2.828 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.001976/0.001976, allocations: 222 kB / 22.25 MB, free: 5.105 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.801 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.308/3.308, allocations: 0.49 GB / 0.7951 GB, free: 35.53 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.002108/0.002108, allocations: 71.34 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4296, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2226/0.6522, allocations: 143.6 MB / 1.466 GB, free: 1.34 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.00624/0.6584, allocations: 3.341 MB / 1.469 GB, free: 13.99 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005931/0.659, allocations: 23.81 kB / 1.469 GB, free: 13.97 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008694/0.6599, allocations: 262.5 kB / 1.47 GB, free: 13.71 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002299/0.6622, allocations: 0.9412 MB / 1.471 GB, free: 12.77 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.6633, allocations: 456.5 kB / 1.471 GB, free: 12.32 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.6649, allocations: 1.138 MB / 1.472 GB, free: 11.18 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004388/0.6653, allocations: 284.5 kB / 1.472 GB, free: 10.89 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007841/0.6661, allocations: 462.3 kB / 1.473 GB, free: 10.44 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009901/0.6671, allocations: 384.7 kB / 1.473 GB, free: 10.06 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.27e-05/0.6672, allocations: 43.94 kB / 1.473 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.6684, allocations: 0.5844 MB / 1.474 GB, free: 9.434 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.6686, allocations: 179.4 kB / 1.474 GB, free: 9.258 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.6689, allocations: 223 kB / 1.474 GB, free: 9.039 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.6704, allocations: 0.9341 MB / 1.475 GB, free: 8.102 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6704, allocations: 4 kB / 1.475 GB, free: 8.098 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6704, allocations: 0 / 1.475 GB, free: 8.098 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.986e-06/0.6704, allocations: 0 / 1.475 GB, free: 8.098 MB / 1.17 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.001698/0.6721, allocations: 0.8124 MB / 1.476 GB, free: 7.254 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.6721, allocations: 12.03 kB / 1.476 GB, free: 7.242 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.756e-05/0.6722, allocations: 70.53 kB / 1.476 GB, free: 7.164 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.6733, allocations: 151.5 kB / 1.476 GB, free: 7.016 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/0.6742, allocations: 450.2 kB / 1.477 GB, free: 6.547 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.6742, allocations: 20.66 kB / 1.477 GB, free: 6.527 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.6743, allocations: 32 kB / 1.477 GB, free: 6.496 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.675, allocations: 431.8 kB / 1.477 GB, free: 6.035 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.675, allocations: 4 kB / 1.477 GB, free: 6.031 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.675, allocations: 16 kB / 1.477 GB, free: 6.016 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.675, allocations: 8.656 kB / 1.477 GB, free: 6.008 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.6755, allocations: 226.4 kB / 1.477 GB, free: 5.789 MB / 1.17 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.002011/0.6775, allocations: 0.9524 MB / 1.478 GB, free: 4.789 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004406/0.6779, allocations: 218.7 kB / 1.478 GB, free: 4.566 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.6781, allocations: 106.5 kB / 1.478 GB, free: 4.461 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.6782, allocations: 4 kB / 1.478 GB, free: 4.457 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004333/0.6786, allocations: 270.1 kB / 1.479 GB, free: 4.156 MB / 1.17 GB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/0.6786, allocations: 0 / 1.479 GB, free: 4.156 MB / 1.17 GB Notification: Performance of matching and sorting (n=29): time 0.003185/0.6818, allocations: 1.029 MB / 1.48 GB, free: 3.09 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.6818, allocations: 59.34 kB / 1.48 GB, free: 3.02 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006767/0.6825, allocations: 473.9 kB / 1.48 GB, free: 2.551 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.6825, allocations: 33.7 kB / 1.48 GB, free: 2.512 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.6828, allocations: 240.5 kB / 1.48 GB, free: 2.273 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.6829, allocations: 115 kB / 1.481 GB, free: 2.16 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.6831, allocations: 78.02 kB / 1.481 GB, free: 2.078 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002409/0.6833, allocations: 350.8 kB / 1.481 GB, free: 1.727 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.6836, allocations: 128.7 kB / 1.481 GB, free: 1.602 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.6839, allocations: 190.7 kB / 1.481 GB, free: 1.398 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/0.6844, allocations: 311.4 kB / 1.482 GB, free: 1.078 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6844, allocations: 0 / 1.482 GB, free: 1.078 MB / 1.17 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001148/0.6856, allocations: 498.4 kB / 1.482 GB, free: 0.582 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.6856, allocations: 8 kB / 1.482 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.6856, allocations: 0 / 1.482 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000422/0.6861, allocations: 80.92 kB / 1.482 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.6864, allocations: 67.91 kB / 1.482 GB, free: 436 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002287/0.6886, allocations: 1.793 MB / 1.484 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.6891, allocations: 12.03 kB / 1.484 GB, free: 14.51 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.6891, allocations: 19.98 kB / 1.484 GB, free: 14.49 MB / 1.186 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.0003404/0.6895, allocations: 194.5 kB / 1.484 GB, free: 14.29 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.734e-05/0.6896, allocations: 51.67 kB / 1.484 GB, free: 14.24 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.6906, allocations: 407.7 kB / 1.485 GB, free: 13.83 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.6906, allocations: 7.922 kB / 1.485 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6906, allocations: 4 kB / 1.485 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6906, allocations: 0 / 1.485 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.6923, allocations: 0.8968 MB / 1.486 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6923, allocations: 0 / 1.486 GB, free: 12.87 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.6927, allocations: 59.91 kB / 1.486 GB, free: 12.81 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003577/0.6931, allocations: 84.78 kB / 1.486 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.6931, allocations: 8 kB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.6947, allocations: 1.541 MB / 1.487 GB, free: 11.06 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6947, allocations: 4.031 kB / 1.487 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.6959, allocations: 0.5839 MB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.6961, allocations: 75.72 kB / 1.488 GB, free: 10.38 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.6e-05/0.6961, allocations: 19.88 kB / 1.488 GB, free: 10.36 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.6965, allocations: 11.98 kB / 1.488 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.674e-05/0.6966, allocations: 23.95 kB / 1.488 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.6966, allocations: 8 kB / 1.488 GB, free: 10.31 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004257/0.697, allocations: 311.1 kB / 1.488 GB, free: 10.01 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.41e-07/0.697, allocations: 4 kB / 1.488 GB, free: 10.01 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005857/0.6976, allocations: 135.9 kB / 1.488 GB, free: 9.875 MB / 1.186 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 (27): * Single equations (assignments): 24 * 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.00311/0.7007, allocations: 1.481 MB / 1.49 GB, free: 8.555 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000858/0.7016, allocations: 418.6 kB / 1.49 GB, free: 8.133 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7016, allocations: 0 / 1.49 GB, free: 8.133 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.7019, allocations: 242.8 kB / 1.49 GB, free: 7.883 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.7031, allocations: 245 kB / 1.491 GB, free: 7.656 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006563/0.7097, allocations: 4.194 MB / 1.495 GB, free: 3.34 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.71, allocations: 251.8 kB / 1.495 GB, free: 3.066 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003805/0.7104, allocations: 88.34 kB / 1.495 GB, free: 2.98 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/0.7106, allocations: 163.4 kB / 1.495 GB, free: 2.82 MB / 1.186 GB Notification: Performance of SimCode: time 1.362e-06/0.7106, allocations: 4 kB / 1.495 GB, free: 2.816 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05604/0.7667, allocations: 14.71 MB / 1.51 GB, free: 4.352 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.12, allocations: 7.859 kB / 1.51 GB, free: 4.348 MB / 1.201 GB " [Timeout remaining time 287] (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: 20.37168679398019]