Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004817/0.004817, allocations: 96.7 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 469.8 MB / 0.7425 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 75.89 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2918, allocations: 159.1 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.748/1.04, allocations: 162.9 MB / 1.379 GB, free: 6.004 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005457/1.045, allocations: 3.491 MB / 1.383 GB, free: 3.547 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004524/1.046, allocations: 16.44 kB / 1.383 GB, free: 3.543 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008024/1.047, allocations: 274.3 kB / 1.383 GB, free: 3.363 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002001/1.049, allocations: 0.8651 MB / 1.384 GB, free: 2.688 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/1.05, allocations: 472 kB / 1.384 GB, free: 2.332 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001324/1.051, allocations: 1.098 MB / 1.385 GB, free: 1.691 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004517/1.052, allocations: 321.4 kB / 1.386 GB, free: 1.477 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006115/1.052, allocations: 407.7 kB / 1.386 GB, free: 1.238 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008919/1.053, allocations: 356.2 kB / 1.386 GB, free: 1.027 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.047e-05/1.053, allocations: 39.59 kB / 1.386 GB, free: 1.027 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/1.054, allocations: 0.6953 MB / 1.387 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/1.055, allocations: 161.6 kB / 1.387 GB, free: 0.543 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003022/1.055, allocations: 280.1 kB / 1.387 GB, free: 364 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/1.056, allocations: 0.9322 MB / 1.388 GB, free: 15.75 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/1.056, allocations: 0 / 1.388 GB, free: 15.75 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.232e-06/1.056, allocations: 0 / 1.388 GB, free: 15.75 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.056, allocations: 0 / 1.388 GB, free: 15.75 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.00147/1.058, allocations: 0.8903 MB / 1.389 GB, free: 15 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/1.058, allocations: 9.062 kB / 1.389 GB, free: 15 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.684e-05/1.058, allocations: 65 kB / 1.389 GB, free: 14.93 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/1.059, allocations: 161.8 kB / 1.389 GB, free: 14.86 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007958/1.06, allocations: 0.4941 MB / 1.39 GB, free: 14.43 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/1.06, allocations: 28.73 kB / 1.39 GB, free: 14.42 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.541e-05/1.06, allocations: 35.23 kB / 1.39 GB, free: 14.4 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005709/1.06, allocations: 318.1 kB / 1.39 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/1.06, allocations: 0 / 1.39 GB, free: 14.21 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/1.061, allocations: 11.12 kB / 1.39 GB, free: 14.2 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/1.061, allocations: 19.34 kB / 1.39 GB, free: 14.19 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/1.061, allocations: 223.8 kB / 1.391 GB, free: 14.08 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.002018/1.063, allocations: 1.415 MB / 1.392 GB, free: 12.8 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/1.063, allocations: 213.4 kB / 1.392 GB, free: 12.68 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/1.064, allocations: 114.9 kB / 1.392 GB, free: 12.62 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/1.064, allocations: 3.656 kB / 1.392 GB, free: 12.62 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003038/1.064, allocations: 165 kB / 1.392 GB, free: 12.5 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/1.064, allocations: 1.344 kB / 1.392 GB, free: 12.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=29): time 0.002913/1.067, allocations: 1.101 MB / 1.393 GB, free: 11.77 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/1.067, allocations: 58.81 kB / 1.394 GB, free: 11.7 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/1.068, allocations: 461.1 kB / 1.394 GB, free: 11.43 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/1.068, allocations: 32.08 kB / 1.394 GB, free: 11.4 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/1.068, allocations: 241.3 kB / 1.394 GB, free: 11.18 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/1.068, allocations: 104.2 kB / 1.394 GB, free: 11.09 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/1.068, allocations: 80.14 kB / 1.394 GB, free: 11.04 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001739/1.068, allocations: 354.6 kB / 1.395 GB, free: 10.7 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/1.069, allocations: 128.1 kB / 1.395 GB, free: 10.63 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/1.069, allocations: 187.5 kB / 1.395 GB, free: 10.51 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/1.069, allocations: 307.6 kB / 1.395 GB, free: 10.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/1.069, allocations: 0 / 1.395 GB, free: 10.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001013/1.07, allocations: 493 kB / 1.396 GB, free: 10.05 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.07, allocations: 10.17 kB / 1.396 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.07, allocations: 1.312 kB / 1.396 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/1.071, allocations: 85.98 kB / 1.396 GB, free: 10 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/1.071, allocations: 58.67 kB / 1.396 GB, free: 9.996 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/1.073, allocations: 1.916 MB / 1.398 GB, free: 8.172 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/1.073, allocations: 16.23 kB / 1.398 GB, free: 8.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/1.073, allocations: 14.34 kB / 1.398 GB, free: 8.156 MB / 1.092 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.000241/1.074, allocations: 197.1 kB / 1.398 GB, free: 7.988 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/1.074, allocations: 50.06 kB / 1.398 GB, free: 7.961 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/1.074, allocations: 52.77 kB / 1.398 GB, free: 7.926 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/1.074, allocations: 7.438 kB / 1.398 GB, free: 7.922 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.074, allocations: 1.094 kB / 1.398 GB, free: 7.922 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.074, allocations: 3.984 kB / 1.398 GB, free: 7.918 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/1.076, allocations: 0.9678 MB / 1.399 GB, free: 7.18 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/1.076, allocations: 1.062 kB / 1.399 GB, free: 7.18 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/1.076, allocations: 64.78 kB / 1.399 GB, free: 7.164 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/1.076, allocations: 79.97 kB / 1.399 GB, free: 7.117 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/1.076, allocations: 11.31 kB / 1.399 GB, free: 7.109 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/1.078, allocations: 1.654 MB / 1.401 GB, free: 5.496 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.078, allocations: 0 / 1.401 GB, free: 5.496 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/1.079, allocations: 0.5754 MB / 1.401 GB, free: 5.121 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/1.079, allocations: 150 kB / 1.402 GB, free: 4.977 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/1.079, allocations: 14.83 kB / 1.402 GB, free: 4.965 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/1.08, allocations: 12.31 kB / 1.402 GB, free: 4.957 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/1.08, allocations: 20.66 kB / 1.402 GB, free: 4.945 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/1.08, allocations: 12.72 kB / 1.402 GB, free: 4.941 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003922/1.08, allocations: 308.1 kB / 1.402 GB, free: 4.758 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.91e-07/1.08, allocations: 1.031 kB / 1.402 GB, free: 4.758 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005557/1.081, allocations: 124.6 kB / 1.402 GB, free: 4.742 MB / 1.092 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.002884/1.084, allocations: 1.448 MB / 1.403 GB, free: 3.715 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0007951/1.084, allocations: 421.4 kB / 1.404 GB, free: 3.457 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.084, allocations: 0 / 1.404 GB, free: 3.457 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/1.085, allocations: 247.2 kB / 1.404 GB, free: 3.277 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/1.086, allocations: 252.3 kB / 1.404 GB, free: 3.152 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/1.092, allocations: 4.142 MB / 1.408 GB, free: 344 kB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/1.093, allocations: 0.851 MB / 1.409 GB, free: 15.56 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003368/1.093, allocations: 84.53 kB / 1.409 GB, free: 15.52 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/1.093, allocations: 152.6 kB / 1.409 GB, free: 15.4 MB / 1.107 GB Notification: Performance of SimCode: time 4.51e-07/1.093, allocations: 4 kB / 1.409 GB, free: 15.39 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/1.135, allocations: 12.88 MB / 1.422 GB, free: 6.395 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.58, allocations: 20.58 kB / 1.422 GB, free: 6.379 MB / 1.107 GB (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.Boiler.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches