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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_9_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007974/0.007974, allocations: 108.5 kB / 15.71 MB, free: 6 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.001515/0.001515, allocations: 194 kB / 16.64 MB, free: 5.938 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.465/1.465, allocations: 222.9 MB / 240.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.3 MB / 0.6648 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 68.11 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9639/0.9651, allocations: 140.4 MB / 1.088 GB, free: 5.469 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2284/1.194, allocations: 162.9 MB / 1.247 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00727/1.201, allocations: 3.485 MB / 1.25 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/1.202, allocations: 19.88 kB / 1.25 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/1.203, allocations: 282.4 kB / 1.251 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003526/1.207, allocations: 0.8516 MB / 1.252 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/1.208, allocations: 489 kB / 1.252 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00196/1.21, allocations: 1.087 MB / 1.253 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/1.211, allocations: 324.2 kB / 1.253 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006839/1.211, allocations: 406.3 kB / 1.254 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009758/1.212, allocations: 353.2 kB / 1.254 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.455e-05/1.213, allocations: 40 kB / 1.254 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/1.214, allocations: 0.6937 MB / 1.255 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002151/1.214, allocations: 167.5 kB / 1.255 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003074/1.215, allocations: 274.7 kB / 1.255 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/1.216, allocations: 0.9366 MB / 1.256 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.216, allocations: 0 / 1.256 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/1.216, allocations: 0 / 1.256 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.216, allocations: 0 / 1.256 GB, free: 1.367 MB / 0.9825 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.001422/1.218, allocations: 0.868 MB / 1.257 GB, free: 456 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/1.218, allocations: 8.031 kB / 1.257 GB, free: 448 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.219, allocations: 151.2 kB / 1.257 GB, free: 296 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007699/1.22, allocations: 0.5008 MB / 1.258 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/1.22, allocations: 20.56 kB / 1.258 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/1.22, allocations: 32 kB / 1.258 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005634/1.22, allocations: 319.6 kB / 1.258 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/1.22, allocations: 4 kB / 1.258 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/1.22, allocations: 8 kB / 1.258 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/1.22, allocations: 12.56 kB / 1.258 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000414/1.221, allocations: 222.1 kB / 1.258 GB, free: 15.13 MB / 0.9981 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.001978/1.223, allocations: 1.418 MB / 1.26 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004038/1.223, allocations: 214.8 kB / 1.26 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/1.223, allocations: 112.8 kB / 1.26 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/1.223, allocations: 4 kB / 1.26 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/1.224, allocations: 166.1 kB / 1.26 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/1.224, allocations: 0 / 1.26 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002869/1.227, allocations: 1.091 MB / 1.261 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/1.227, allocations: 67.34 kB / 1.261 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/1.227, allocations: 461.9 kB / 1.262 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/1.227, allocations: 29.7 kB / 1.262 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/1.228, allocations: 244.2 kB / 1.262 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/1.228, allocations: 102.6 kB / 1.262 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/1.228, allocations: 77.98 kB / 1.262 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.228, allocations: 354.7 kB / 1.262 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/1.228, allocations: 128.7 kB / 1.263 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/1.228, allocations: 190.6 kB / 1.263 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/1.229, allocations: 299.9 kB / 1.263 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.229, allocations: 0 / 1.263 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009474/1.23, allocations: 0.4903 MB / 1.264 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.23, allocations: 4 kB / 1.264 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.23, allocations: 4 kB / 1.264 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/1.23, allocations: 84.95 kB / 1.264 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/1.231, allocations: 63.91 kB / 1.264 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/1.232, allocations: 1.903 MB / 1.266 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/1.233, allocations: 11.91 kB / 1.266 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/1.233, allocations: 15.98 kB / 1.266 GB, free: 7.203 MB / 0.9981 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.000279/1.233, allocations: 193.9 kB / 1.266 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.109e-05/1.233, allocations: 47.47 kB / 1.266 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/1.233, allocations: 56.61 kB / 1.266 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.233, allocations: 4 kB / 1.266 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.233, allocations: 0 / 1.266 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.233, allocations: 3.938 kB / 1.266 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/1.235, allocations: 0.9719 MB / 1.267 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.235, allocations: 0 / 1.267 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/1.235, allocations: 63.97 kB / 1.267 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003195/1.236, allocations: 80.78 kB / 1.267 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/1.236, allocations: 11.94 kB / 1.267 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/1.237, allocations: 1.648 MB / 1.269 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.237, allocations: 0 / 1.269 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/1.238, allocations: 0.5718 MB / 1.269 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/1.238, allocations: 144.9 kB / 1.269 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.749e-05/1.238, allocations: 8 kB / 1.269 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/1.239, allocations: 19.83 kB / 1.269 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/1.239, allocations: 23.95 kB / 1.269 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/1.239, allocations: 12 kB / 1.269 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003538/1.239, allocations: 311.1 kB / 1.27 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.239, allocations: 0 / 1.27 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005729/1.24, allocations: 128 kB / 1.27 GB, free: 2.672 MB / 0.9981 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.001158/1.241, allocations: 433.4 kB / 1.27 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008226/1.242, allocations: 430.7 kB / 1.271 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/1.242, allocations: 0 / 1.271 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/1.242, allocations: 246.6 kB / 1.271 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/1.243, allocations: 246.2 kB / 1.271 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/1.245, allocations: 0.9863 MB / 1.272 GB, free: 488 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/1.246, allocations: 0.8504 MB / 1.273 GB, free: 15.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003376/1.246, allocations: 88.3 kB / 1.273 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/1.246, allocations: 35.44 kB / 1.273 GB, free: 15.47 MB / 1.014 GB Notification: Performance of SimCode: time 1.092e-06/1.246, allocations: 4 kB / 1.273 GB, free: 15.47 MB / 1.014 GB Notification: Performance of Templates: time 0.01655/1.263, allocations: 8.809 MB / 1.282 GB, free: 6.793 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.makefile (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 & ./Buildings_9_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.Boiler.System1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches