Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Examples_Tutorial_Boiler_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.Boiler.System1,fileNamePrefix="Buildings_9_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.001284/0.001284, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.258/2.258, allocations: 390.3 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 55.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5143/0.5156, allocations: 140.4 MB / 0.9497 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1543/0.67, allocations: 162.9 MB / 1.109 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004909/0.6749, allocations: 3.475 MB / 1.112 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004479/0.6754, allocations: 19.88 kB / 1.112 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.6761, allocations: 270.5 kB / 1.112 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.678, allocations: 0.8594 MB / 1.113 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.000986/0.679, allocations: 482.2 kB / 1.114 GB, free: 9.32 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001178/0.6802, allocations: 1.095 MB / 1.115 GB, free: 8.219 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004051/0.6806, allocations: 320.2 kB / 1.115 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005888/0.6812, allocations: 402.3 kB / 1.116 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008301/0.682, allocations: 357.9 kB / 1.116 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.23e-05/0.6821, allocations: 40 kB / 1.116 GB, free: 7.125 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.6833, allocations: 0.6976 MB / 1.117 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.6834, allocations: 163.5 kB / 1.117 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.6837, allocations: 262.7 kB / 1.117 GB, free: 6.008 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.6848, allocations: 0.9348 MB / 1.118 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6848, allocations: 0 / 1.118 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6849, allocations: 0 / 1.118 GB, free: 5.07 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.6849, allocations: 0 / 1.118 GB, free: 5.07 MB / 0.8731 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.00133/0.6862, allocations: 0.8719 MB / 1.119 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.6862, allocations: 8.031 kB / 1.119 GB, free: 4.137 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.737e-05/0.6863, allocations: 62.55 kB / 1.119 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009955/0.6873, allocations: 151.2 kB / 1.119 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/0.688, allocations: 496.8 kB / 1.119 GB, free: 3.395 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.688, allocations: 20.56 kB / 1.119 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.6881, allocations: 28 kB / 1.12 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004998/0.6886, allocations: 335.6 kB / 1.12 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.6886, allocations: 3.906 kB / 1.12 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.418e-05/0.6886, allocations: 15.98 kB / 1.12 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.6887, allocations: 8.562 kB / 1.12 GB, free: 2.98 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003782/0.689, allocations: 230 kB / 1.12 GB, free: 2.754 MB / 0.8731 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.001723/0.6908, allocations: 1.41 MB / 1.121 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003565/0.6911, allocations: 222.7 kB / 1.122 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.6913, allocations: 108.8 kB / 1.122 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.6914, allocations: 4 kB / 1.122 GB, free: 0.8711 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.6916, allocations: 165.2 kB / 1.122 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.6916, allocations: 4 kB / 1.122 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.00269/0.6943, allocations: 1.087 MB / 1.123 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.6944, allocations: 67.33 kB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000497/0.6949, allocations: 457.8 kB / 1.123 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.6949, allocations: 33.7 kB / 1.124 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.6951, allocations: 228.3 kB / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.505e-05/0.6952, allocations: 106.5 kB / 1.124 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.6953, allocations: 81.97 kB / 1.124 GB, free: 14.56 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6955, allocations: 350.8 kB / 1.124 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.6957, allocations: 128.7 kB / 1.124 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.696, allocations: 182.7 kB / 1.125 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.6964, allocations: 307.9 kB / 1.125 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6964, allocations: 3.938 kB / 1.125 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009163/0.6973, allocations: 482 kB / 1.125 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.6974, allocations: 14.12 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6974, allocations: 0 / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003499/0.6977, allocations: 84.92 kB / 1.125 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002576/0.698, allocations: 67.91 kB / 1.125 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/0.6997, allocations: 1.911 MB / 1.127 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.7, allocations: 15.95 kB / 1.127 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.7, allocations: 16 kB / 1.127 GB, free: 10.84 MB / 0.8887 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.0002007/0.7002, allocations: 194.1 kB / 1.128 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.7003, allocations: 47.42 kB / 1.128 GB, free: 10.59 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.7004, allocations: 56.62 kB / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7004, allocations: 0 / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.7005, allocations: 4 kB / 1.128 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.7005, allocations: 0 / 1.128 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.7019, allocations: 0.9687 MB / 1.129 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7019, allocations: 0 / 1.129 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.7023, allocations: 68.03 kB / 1.129 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002912/0.7026, allocations: 84.81 kB / 1.129 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.7026, allocations: 15.94 kB / 1.129 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.704, allocations: 1.636 MB / 1.13 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.704, allocations: 0 / 1.13 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009674/0.705, allocations: 0.5705 MB / 1.131 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.7052, allocations: 156.5 kB / 1.131 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.7052, allocations: 7.938 kB / 1.131 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003318/0.7056, allocations: 15.92 kB / 1.131 GB, free: 6.773 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/0.7056, allocations: 23.97 kB / 1.131 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.7057, allocations: 12 kB / 1.131 GB, free: 6.738 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003177/0.706, allocations: 307.1 kB / 1.131 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.433e-06/0.706, allocations: 0 / 1.131 GB, free: 6.438 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004882/0.7065, allocations: 135.9 kB / 1.132 GB, free: 6.305 MB / 0.8887 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.002071/0.7086, allocations: 1.439 MB / 1.133 GB, free: 5 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0007162/0.7093, allocations: 446.3 kB / 1.133 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7093, allocations: 0 / 1.133 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.7096, allocations: 250.6 kB / 1.134 GB, free: 4.293 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.7107, allocations: 236.2 kB / 1.134 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005288/0.716, allocations: 4.193 MB / 1.138 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.7164, allocations: 0.8463 MB / 1.139 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000333/0.7167, allocations: 92.31 kB / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.7169, allocations: 151.4 kB / 1.139 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.7169, allocations: 0 / 1.139 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/0.843, allocations: 12.76 MB / 1.151 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.073/9.916, allocations: 17.31 kB / 1.151 GB, free: 2.086 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Examples_Tutorial_Boiler_System1.fmu > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches