Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001251/0.001251, 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.001584/0.001584, allocations: 220.9 kB / 23.05 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.274/3.274, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_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.001959/0.001959, allocations: 70.62 kB / 1.171 GB, free: 19.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.4378, allocations: 179 MB / 1.345 GB, free: 500 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2167/0.6545, allocations: 166.5 MB / 1.508 GB, free: 9.34 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.006865/0.6613, allocations: 3.581 MB / 1.511 GB, free: 5.75 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008223/0.6622, allocations: 27.75 kB / 1.511 GB, free: 5.723 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009386/0.6631, allocations: 278.5 kB / 1.512 GB, free: 5.449 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.6656, allocations: 0.949 MB / 1.513 GB, free: 4.496 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.6669, allocations: 459.5 kB / 1.513 GB, free: 4.047 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.6687, allocations: 1.147 MB / 1.514 GB, free: 2.898 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004674/0.6692, allocations: 284.6 kB / 1.514 GB, free: 2.613 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008682/0.67, allocations: 474.2 kB / 1.515 GB, free: 2.148 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.671, allocations: 374.3 kB / 1.515 GB, free: 1.785 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.969e-05/0.6711, allocations: 40 kB / 1.515 GB, free: 1.746 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.6727, allocations: 0.7521 MB / 1.516 GB, free: 0.9922 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.6729, allocations: 171.4 kB / 1.516 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003219/0.6732, allocations: 278.6 kB / 1.516 GB, free: 0.5508 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.6749, allocations: 0.9498 MB / 1.517 GB, free: 15.6 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6749, allocations: 0 / 1.517 GB, free: 15.6 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6749, allocations: 0 / 1.517 GB, free: 15.6 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.6749, allocations: 3.938 kB / 1.517 GB, free: 15.59 MB / 1.217 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.001572/0.6764, allocations: 0.8153 MB / 1.518 GB, free: 14.74 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.6765, allocations: 12.03 kB / 1.518 GB, free: 14.73 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.979e-05/0.6765, allocations: 8.656 kB / 1.518 GB, free: 14.72 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.055e-05/0.6766, allocations: 66.53 kB / 1.518 GB, free: 14.65 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.6777, allocations: 167.4 kB / 1.518 GB, free: 14.48 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/0.6785, allocations: 442.2 kB / 1.519 GB, free: 14.02 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.6785, allocations: 24.66 kB / 1.519 GB, free: 14 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.03e-05/0.6786, allocations: 32 kB / 1.519 GB, free: 13.97 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.6792, allocations: 313.1 kB / 1.519 GB, free: 13.65 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.6792, allocations: 0 / 1.519 GB, free: 13.65 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.6793, allocations: 16 kB / 1.519 GB, free: 13.64 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.6793, allocations: 16.64 kB / 1.519 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.6797, allocations: 226.4 kB / 1.519 GB, free: 13.4 MB / 1.217 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.002151/0.6819, allocations: 1.484 MB / 1.521 GB, free: 11.76 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.6823, allocations: 207.3 kB / 1.521 GB, free: 11.55 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.6825, allocations: 104.8 kB / 1.521 GB, free: 11.45 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.6825, allocations: 4 kB / 1.521 GB, free: 11.44 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003106/0.6828, allocations: 167.2 kB / 1.521 GB, free: 11.27 MB / 1.217 GB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.6828, allocations: 4 kB / 1.521 GB, free: 11.26 MB / 1.217 GB Notification: Performance of matching and sorting (n=29): time 0.00287/0.6857, allocations: 1.029 MB / 1.522 GB, free: 10.19 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.6857, allocations: 55.41 kB / 1.522 GB, free: 10.12 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/0.6863, allocations: 481.8 kB / 1.523 GB, free: 9.645 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.6864, allocations: 29.7 kB / 1.523 GB, free: 9.609 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.6866, allocations: 244.5 kB / 1.523 GB, free: 9.367 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.6867, allocations: 103.2 kB / 1.523 GB, free: 9.266 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.6868, allocations: 78.02 kB / 1.523 GB, free: 9.184 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.687, allocations: 350.8 kB / 1.524 GB, free: 8.832 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.6872, allocations: 128.7 kB / 1.524 GB, free: 8.707 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.6875, allocations: 194.6 kB / 1.524 GB, free: 8.5 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/0.688, allocations: 303.4 kB / 1.524 GB, free: 8.188 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.688, allocations: 4 kB / 1.524 GB, free: 8.184 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001022/0.689, allocations: 490.4 kB / 1.525 GB, free: 7.695 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.689, allocations: 9.875 kB / 1.525 GB, free: 7.688 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.689, allocations: 160 / 1.525 GB, free: 7.688 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003613/0.6894, allocations: 88.78 kB / 1.525 GB, free: 7.598 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/0.6897, allocations: 63.92 kB / 1.525 GB, free: 7.535 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.6917, allocations: 1.805 MB / 1.527 GB, free: 5.621 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003394/0.692, allocations: 12.09 kB / 1.527 GB, free: 5.609 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.6921, allocations: 16 kB / 1.527 GB, free: 5.594 MB / 1.217 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.0002723/0.6923, allocations: 189.7 kB / 1.527 GB, free: 5.398 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.024e-05/0.6924, allocations: 51.67 kB / 1.527 GB, free: 5.348 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009337/0.6933, allocations: 407.2 kB / 1.527 GB, free: 4.938 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.6934, allocations: 3.938 kB / 1.527 GB, free: 4.934 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6934, allocations: 4 kB / 1.527 GB, free: 4.93 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.6934, allocations: 0 / 1.527 GB, free: 4.93 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.695, allocations: 0.9396 MB / 1.528 GB, free: 3.934 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.695, allocations: 7.938 kB / 1.528 GB, free: 3.926 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.6954, allocations: 59.97 kB / 1.528 GB, free: 3.867 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/0.6957, allocations: 80.78 kB / 1.528 GB, free: 3.785 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.6957, allocations: 8 kB / 1.528 GB, free: 3.777 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.6973, allocations: 1.545 MB / 1.53 GB, free: 2.113 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6973, allocations: 4.062 kB / 1.53 GB, free: 2.109 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.6984, allocations: 0.571 MB / 1.53 GB, free: 1.52 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.6986, allocations: 75.72 kB / 1.53 GB, free: 1.445 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.6987, allocations: 16 kB / 1.531 GB, free: 1.43 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.699, allocations: 12 kB / 1.531 GB, free: 1.418 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.6991, allocations: 19.95 kB / 1.531 GB, free: 1.398 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.6991, allocations: 11.98 kB / 1.531 GB, free: 1.387 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004086/0.6995, allocations: 315.1 kB / 1.531 GB, free: 1.082 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6995, allocations: 0 / 1.531 GB, free: 1.082 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005822/0.7001, allocations: 123.9 kB / 1.531 GB, free: 0.9609 MB / 1.217 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.002975/0.7031, allocations: 1.455 MB / 1.532 GB, free: 15.64 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008245/0.7039, allocations: 410.6 kB / 1.533 GB, free: 15.22 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7039, allocations: 0 / 1.533 GB, free: 15.22 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003337/0.7042, allocations: 238.9 kB / 1.533 GB, free: 14.98 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.7054, allocations: 254.6 kB / 1.533 GB, free: 14.74 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006706/0.7121, allocations: 4.173 MB / 1.537 GB, free: 10.45 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/0.7127, allocations: 0.8543 MB / 1.538 GB, free: 9.57 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003893/0.7131, allocations: 84.34 kB / 1.538 GB, free: 9.484 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.7134, allocations: 155.4 kB / 1.538 GB, free: 9.332 MB / 1.232 GB Notification: Performance of SimCode: time 9.52e-07/0.7134, allocations: 0 / 1.538 GB, free: 9.332 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04844/0.7619, allocations: 13.39 MB / 1.551 GB, free: 12.11 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.54, allocations: 14.61 kB / 1.551 GB, free: 12.1 MB / 1.248 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.882839800033253]