Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 63.89 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8079/0.8099, allocations: 160.7 MB / 1.213 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1998/1.01, allocations: 163.5 MB / 1.373 GB, free: 1.305 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006612/1.016, allocations: 3.49 MB / 1.376 GB, free: 13.8 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007858/1.017, allocations: 19.88 kB / 1.376 GB, free: 13.78 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/1.018, allocations: 286.4 kB / 1.376 GB, free: 13.5 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002533/1.021, allocations: 0.8867 MB / 1.377 GB, free: 12.61 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/1.022, allocations: 481 kB / 1.378 GB, free: 12.14 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001878/1.024, allocations: 1.095 MB / 1.379 GB, free: 11.04 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006529/1.025, allocations: 284.4 kB / 1.379 GB, free: 10.76 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/1.026, allocations: 430.4 kB / 1.379 GB, free: 10.34 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/1.027, allocations: 374.5 kB / 1.38 GB, free: 9.98 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001297/1.027, allocations: 40 kB / 1.38 GB, free: 9.941 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/1.029, allocations: 0.7443 MB / 1.38 GB, free: 9.195 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/1.029, allocations: 167.4 kB / 1.381 GB, free: 9.031 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004141/1.029, allocations: 274.6 kB / 1.381 GB, free: 8.762 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001898/1.031, allocations: 0.9381 MB / 1.382 GB, free: 7.82 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.031, allocations: 0 / 1.382 GB, free: 7.82 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.103e-06/1.031, allocations: 0 / 1.382 GB, free: 7.82 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.849e-05/1.031, allocations: 4 kB / 1.382 GB, free: 7.816 MB / 1.092 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.002313/1.034, allocations: 0.8867 MB / 1.383 GB, free: 6.875 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/1.034, allocations: 8.922 kB / 1.383 GB, free: 6.867 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/1.034, allocations: 66.53 kB / 1.383 GB, free: 6.793 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/1.035, allocations: 151.5 kB / 1.383 GB, free: 6.645 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.036, allocations: 0.5013 MB / 1.383 GB, free: 6.102 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/1.036, allocations: 20.56 kB / 1.383 GB, free: 6.082 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/1.036, allocations: 32 kB / 1.383 GB, free: 6.051 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/1.037, allocations: 323.6 kB / 1.384 GB, free: 5.727 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/1.037, allocations: 4 kB / 1.384 GB, free: 5.723 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/1.037, allocations: 12 kB / 1.384 GB, free: 5.711 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-05/1.037, allocations: 12.5 kB / 1.384 GB, free: 5.699 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/1.037, allocations: 230.1 kB / 1.384 GB, free: 5.473 MB / 1.092 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.002442/1.04, allocations: 1.414 MB / 1.385 GB, free: 3.926 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004536/1.04, allocations: 214.7 kB / 1.386 GB, free: 3.707 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/1.04, allocations: 104.8 kB / 1.386 GB, free: 3.602 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/1.041, allocations: 4 kB / 1.386 GB, free: 3.598 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/1.041, allocations: 165.3 kB / 1.386 GB, free: 3.426 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 2.394e-06/1.041, allocations: 4 kB / 1.386 GB, free: 3.422 MB / 1.092 GB Notification: Performance of matching and sorting (n=29): time 0.003117/1.044, allocations: 1.091 MB / 1.387 GB, free: 2.273 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.801e-05/1.044, allocations: 59.28 kB / 1.387 GB, free: 2.203 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/1.045, allocations: 461.9 kB / 1.387 GB, free: 1.746 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/1.045, allocations: 37.7 kB / 1.387 GB, free: 1.703 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/1.045, allocations: 232.6 kB / 1.388 GB, free: 1.473 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/1.045, allocations: 111.1 kB / 1.388 GB, free: 1.363 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/1.045, allocations: 78.03 kB / 1.388 GB, free: 1.281 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.045, allocations: 358.8 kB / 1.388 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/1.046, allocations: 132.6 kB / 1.388 GB, free: 0.793 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002898/1.046, allocations: 178.7 kB / 1.388 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/1.046, allocations: 303.9 kB / 1.389 GB, free: 296 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.046, allocations: 0 / 1.389 GB, free: 296 kB / 1.092 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001092/1.048, allocations: 494.4 kB / 1.389 GB, free: 15.8 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.048, allocations: 4 kB / 1.389 GB, free: 15.79 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.048, allocations: 4 kB / 1.389 GB, free: 15.79 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/1.048, allocations: 84.92 kB / 1.389 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/1.048, allocations: 67.91 kB / 1.389 GB, free: 15.64 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/1.05, allocations: 1.9 MB / 1.391 GB, free: 13.6 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/1.051, allocations: 12 kB / 1.391 GB, free: 13.59 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/1.051, allocations: 19.92 kB / 1.391 GB, free: 13.57 MB / 1.107 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.0003357/1.051, allocations: 193.6 kB / 1.391 GB, free: 13.37 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.051, allocations: 51.78 kB / 1.391 GB, free: 13.32 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/1.051, allocations: 52.61 kB / 1.391 GB, free: 13.26 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/1.051, allocations: 7.984 kB / 1.392 GB, free: 13.25 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.051, allocations: 3.984 kB / 1.392 GB, free: 13.25 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/1.051, allocations: 0 / 1.392 GB, free: 13.25 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/1.054, allocations: 0.972 MB / 1.392 GB, free: 12.22 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/1.054, allocations: 0 / 1.392 GB, free: 12.22 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/1.054, allocations: 55.97 kB / 1.393 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003497/1.054, allocations: 80.78 kB / 1.393 GB, free: 12.08 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/1.054, allocations: 11.94 kB / 1.393 GB, free: 12.07 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/1.056, allocations: 1.649 MB / 1.394 GB, free: 10.28 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.056, allocations: 8.016 kB / 1.394 GB, free: 10.27 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/1.058, allocations: 0.5637 MB / 1.395 GB, free: 9.684 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/1.058, allocations: 152.8 kB / 1.395 GB, free: 9.516 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.153e-05/1.058, allocations: 16.06 kB / 1.395 GB, free: 9.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/1.058, allocations: 19.92 kB / 1.395 GB, free: 9.48 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/1.059, allocations: 19.97 kB / 1.395 GB, free: 9.461 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/1.059, allocations: 12 kB / 1.395 GB, free: 9.449 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004933/1.059, allocations: 307.1 kB / 1.395 GB, free: 9.152 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/1.059, allocations: 3.938 kB / 1.395 GB, free: 9.148 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006875/1.06, allocations: 120 kB / 1.395 GB, free: 9.031 MB / 1.107 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.002993/1.063, allocations: 1.439 MB / 1.397 GB, free: 7.73 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008854/1.064, allocations: 406.7 kB / 1.397 GB, free: 7.32 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/1.064, allocations: 0 / 1.397 GB, free: 7.32 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0003812/1.064, allocations: 238.9 kB / 1.397 GB, free: 7.074 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.065, allocations: 244 kB / 1.398 GB, free: 6.848 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007725/1.073, allocations: 4.143 MB / 1.402 GB, free: 2.586 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/1.074, allocations: 0.8504 MB / 1.403 GB, free: 1.707 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000512/1.074, allocations: 84.34 kB / 1.403 GB, free: 1.625 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/1.075, allocations: 151.4 kB / 1.403 GB, free: 1.477 MB / 1.107 GB Notification: Performance of SimCode: time 1.403e-06/1.075, allocations: 0 / 1.403 GB, free: 1.477 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06059/1.135, allocations: 13 MB / 1.415 GB, free: 4.617 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.27, allocations: 11.81 kB / 1.415 GB, free: 4.605 MB / 1.123 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat --tempDir=temp_Buildings_10_Buildings_Examples_Tutorial_Boiler_System1_fmu --startTime=0 --stopTime=172800 --stepSize=69.12 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_10_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.21464191004634]