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.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_latest_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.007969/0.007969, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00199/0.00199, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.737/2.737, allocations: 469.4 MB / 0.7422 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 64.12 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2845, allocations: 159.1 MB / 1.22 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7314/1.016, allocations: 162.9 MB / 1.379 GB, free: 6.398 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005426/1.021, allocations: 3.491 MB / 1.382 GB, free: 3.941 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/1.022, allocations: 20.91 kB / 1.382 GB, free: 3.934 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008535/1.023, allocations: 291 kB / 1.383 GB, free: 3.785 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/1.025, allocations: 0.8844 MB / 1.383 GB, free: 3.113 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/1.026, allocations: 480.1 kB / 1.384 GB, free: 2.754 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001483/1.028, allocations: 1.097 MB / 1.385 GB, free: 2.113 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/1.028, allocations: 320.5 kB / 1.385 GB, free: 1.898 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007791/1.029, allocations: 430.9 kB / 1.386 GB, free: 1.645 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009736/1.03, allocations: 344.3 kB / 1.386 GB, free: 1.445 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.683e-05/1.03, allocations: 40.94 kB / 1.386 GB, free: 1.445 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/1.032, allocations: 0.7033 MB / 1.387 GB, free: 1.062 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/1.032, allocations: 166 kB / 1.387 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004131/1.032, allocations: 276.6 kB / 1.387 GB, free: 0.7656 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/1.034, allocations: 0.9392 MB / 1.388 GB, free: 156 kB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.034, allocations: 4 kB / 1.388 GB, free: 152 kB / 1.076 GB Notification: Performance of FrontEnd: time 1.714e-06/1.034, allocations: 0 / 1.388 GB, free: 152 kB / 1.076 GB Notification: Performance of Transformations before backend: time 2.141e-05/1.034, allocations: 1.125 kB / 1.388 GB, free: 152 kB / 1.076 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.001842/1.036, allocations: 0.8925 MB / 1.389 GB, free: 15.39 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/1.036, allocations: 9.344 kB / 1.389 GB, free: 15.39 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.874e-05/1.036, allocations: 68.3 kB / 1.389 GB, free: 15.32 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/1.037, allocations: 150.8 kB / 1.389 GB, free: 15.26 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009248/1.038, allocations: 0.4982 MB / 1.39 GB, free: 14.83 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/1.038, allocations: 21 kB / 1.39 GB, free: 14.82 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/1.038, allocations: 34.59 kB / 1.39 GB, free: 14.81 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/1.039, allocations: 319 kB / 1.39 GB, free: 14.61 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/1.039, allocations: 0 / 1.39 GB, free: 14.61 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/1.039, allocations: 15.5 kB / 1.39 GB, free: 14.6 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/1.039, allocations: 9.688 kB / 1.39 GB, free: 14.6 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00046/1.039, allocations: 220.6 kB / 1.39 GB, free: 14.5 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.002198/1.042, allocations: 1.419 MB / 1.392 GB, free: 13.21 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/1.042, allocations: 224.6 kB / 1.392 GB, free: 13.08 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/1.042, allocations: 103.7 kB / 1.392 GB, free: 13.03 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/1.042, allocations: 2.531 kB / 1.392 GB, free: 13.03 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000329/1.043, allocations: 174.2 kB / 1.392 GB, free: 12.9 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 2.074e-06/1.043, allocations: 0 / 1.392 GB, free: 12.9 MB / 1.092 GB Notification: Performance of matching and sorting (n=29): time 0.003069/1.046, allocations: 1.096 MB / 1.393 GB, free: 12.17 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/1.046, allocations: 62.84 kB / 1.393 GB, free: 12.1 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/1.046, allocations: 461.2 kB / 1.394 GB, free: 11.84 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/1.046, allocations: 35.91 kB / 1.394 GB, free: 11.8 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/1.047, allocations: 245 kB / 1.394 GB, free: 11.58 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/1.047, allocations: 101.2 kB / 1.394 GB, free: 11.49 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/1.047, allocations: 79.08 kB / 1.394 GB, free: 11.44 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.047, allocations: 358.9 kB / 1.394 GB, free: 11.09 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/1.047, allocations: 123.4 kB / 1.395 GB, free: 11.03 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/1.048, allocations: 185.9 kB / 1.395 GB, free: 10.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/1.048, allocations: 300.2 kB / 1.395 GB, free: 10.73 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.048, allocations: 1.125 kB / 1.395 GB, free: 10.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001091/1.049, allocations: 0.4903 MB / 1.395 GB, free: 10.45 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.155e-05/1.049, allocations: 5.219 kB / 1.395 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/1.049, allocations: 1.375 kB / 1.395 GB, free: 10.45 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/1.05, allocations: 85.45 kB / 1.396 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/1.05, allocations: 63.88 kB / 1.396 GB, free: 10.39 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/1.052, allocations: 1.911 MB / 1.397 GB, free: 8.574 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/1.052, allocations: 12.3 kB / 1.397 GB, free: 8.566 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/1.052, allocations: 14.83 kB / 1.398 GB, free: 8.562 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.0002683/1.053, allocations: 201.5 kB / 1.398 GB, free: 8.391 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/1.053, allocations: 49.16 kB / 1.398 GB, free: 8.363 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/1.053, allocations: 54.58 kB / 1.398 GB, free: 8.324 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.053, allocations: 2.5 kB / 1.398 GB, free: 8.324 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.053, allocations: 1.5 kB / 1.398 GB, free: 8.324 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/1.053, allocations: 1.188 kB / 1.398 GB, free: 8.324 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/1.055, allocations: 0.971 MB / 1.399 GB, free: 7.582 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/1.055, allocations: 1.406 kB / 1.399 GB, free: 7.582 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003721/1.055, allocations: 60.8 kB / 1.399 GB, free: 7.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000318/1.056, allocations: 78.55 kB / 1.399 GB, free: 7.523 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/1.056, allocations: 19.17 kB / 1.399 GB, free: 7.508 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/1.057, allocations: 1.655 MB / 1.401 GB, free: 5.895 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.057, allocations: 3.984 kB / 1.401 GB, free: 5.891 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/1.058, allocations: 0.5792 MB / 1.401 GB, free: 5.512 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/1.058, allocations: 150.3 kB / 1.401 GB, free: 5.367 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.652e-05/1.058, allocations: 10.41 kB / 1.401 GB, free: 5.359 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/1.059, allocations: 12.09 kB / 1.401 GB, free: 5.352 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/1.059, allocations: 17.75 kB / 1.401 GB, free: 5.344 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/1.059, allocations: 15.39 kB / 1.401 GB, free: 5.336 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004156/1.059, allocations: 309.5 kB / 1.402 GB, free: 5.152 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.8e-07/1.059, allocations: 7.938 kB / 1.402 GB, free: 5.145 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006407/1.06, allocations: 121.1 kB / 1.402 GB, free: 5.133 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.002339/1.062, allocations: 1.431 MB / 1.403 GB, free: 4.125 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0007456/1.063, allocations: 432.3 kB / 1.404 GB, free: 3.855 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.063, allocations: 1.25 kB / 1.404 GB, free: 3.855 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003175/1.063, allocations: 245.7 kB / 1.404 GB, free: 3.676 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/1.065, allocations: 251.4 kB / 1.404 GB, free: 3.551 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006061/1.071, allocations: 4.132 MB / 1.408 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/1.071, allocations: 0.8524 MB / 1.409 GB, free: 15.96 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003541/1.072, allocations: 90.48 kB / 1.409 GB, free: 15.92 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/1.072, allocations: 151.7 kB / 1.409 GB, free: 15.8 MB / 1.107 GB Notification: Performance of SimCode: time 4.51e-07/1.072, allocations: 0 / 1.409 GB, free: 15.8 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0355/1.107, allocations: 12.89 MB / 1.422 GB, free: 6.812 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/11.15, allocations: 8.281 kB / 1.422 GB, free: 6.809 MB / 1.107 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 Buildings_latest_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.csv","/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) Reference file matches