Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002213/0.002213, allocations: 160.6 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.774/2.774, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_12_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 71.88 kB / 0.9819 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9015/0.9039, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1833/1.087, allocations: 143.6 MB / 1.294 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.00682/1.094, allocations: 3.328 MB / 1.297 GB, free: 14.32 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007158/1.095, allocations: 26.78 kB / 1.297 GB, free: 14.3 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/1.096, allocations: 269.9 kB / 1.298 GB, free: 14.18 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002727/1.099, allocations: 0.9282 MB / 1.299 GB, free: 13.67 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/1.1, allocations: 459.7 kB / 1.299 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001837/1.102, allocations: 1.138 MB / 1.3 GB, free: 12.88 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/1.102, allocations: 279.3 kB / 1.3 GB, free: 12.74 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009147/1.103, allocations: 457.7 kB / 1.301 GB, free: 12.54 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/1.104, allocations: 361.1 kB / 1.301 GB, free: 12.33 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/1.104, allocations: 40.59 kB / 1.301 GB, free: 12.33 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/1.106, allocations: 0.5813 MB / 1.302 GB, free: 12.02 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002463/1.106, allocations: 179.2 kB / 1.302 GB, free: 11.9 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002917/1.106, allocations: 220.1 kB / 1.302 GB, free: 11.77 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/1.108, allocations: 0.9297 MB / 1.303 GB, free: 11.17 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/1.108, allocations: 0 / 1.303 GB, free: 11.17 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.593e-06/1.108, allocations: 1.125 kB / 1.303 GB, free: 11.17 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.603e-05/1.108, allocations: 0 / 1.303 GB, free: 11.17 MB / 1.154 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.001645/1.11, allocations: 0.8275 MB / 1.304 GB, free: 10.5 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/1.11, allocations: 9.719 kB / 1.304 GB, free: 10.5 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/1.111, allocations: 159.8 kB / 1.304 GB, free: 10.43 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000902/1.112, allocations: 456.5 kB / 1.304 GB, free: 10.07 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/1.112, allocations: 23.66 kB / 1.304 GB, free: 10.05 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.226e-05/1.112, allocations: 27.81 kB / 1.305 GB, free: 10.05 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/1.112, allocations: 431.2 kB / 1.305 GB, free: 9.711 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/1.112, allocations: 5.188 kB / 1.305 GB, free: 9.707 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/1.112, allocations: 10.28 kB / 1.305 GB, free: 9.699 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/1.112, allocations: 10.31 kB / 1.305 GB, free: 9.699 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/1.113, allocations: 219.8 kB / 1.305 GB, free: 9.598 MB / 1.154 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.001945/1.115, allocations: 0.9084 MB / 1.306 GB, free: 8.91 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/1.115, allocations: 208.1 kB / 1.306 GB, free: 8.793 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/1.115, allocations: 106.3 kB / 1.306 GB, free: 8.734 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/1.115, allocations: 6.859 kB / 1.306 GB, free: 8.73 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003965/1.116, allocations: 268.3 kB / 1.307 GB, free: 8.488 MB / 1.154 GB Notification: Performance of pre-optimization done (n=26): time 2.174e-06/1.116, allocations: 0 / 1.307 GB, free: 8.488 MB / 1.154 GB Notification: Performance of matching and sorting (n=29): time 0.003031/1.119, allocations: 1.029 MB / 1.308 GB, free: 7.852 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/1.119, allocations: 55.06 kB / 1.308 GB, free: 7.789 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/1.12, allocations: 478.1 kB / 1.308 GB, free: 7.504 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.691e-05/1.12, allocations: 32.11 kB / 1.308 GB, free: 7.469 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/1.12, allocations: 246.8 kB / 1.308 GB, free: 7.25 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/1.12, allocations: 108.2 kB / 1.308 GB, free: 7.156 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/1.12, allocations: 79.95 kB / 1.309 GB, free: 7.102 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001859/1.12, allocations: 350.2 kB / 1.309 GB, free: 6.762 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/1.12, allocations: 133.5 kB / 1.309 GB, free: 6.695 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/1.121, allocations: 187.6 kB / 1.309 GB, free: 6.57 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005148/1.121, allocations: 310.3 kB / 1.31 GB, free: 6.383 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.121, allocations: 4.969 kB / 1.31 GB, free: 6.379 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001038/1.122, allocations: 493.8 kB / 1.31 GB, free: 6.113 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.122, allocations: 5.469 kB / 1.31 GB, free: 6.113 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/1.122, allocations: 2.125 kB / 1.31 GB, free: 6.113 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/1.123, allocations: 85.86 kB / 1.31 GB, free: 6.066 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/1.123, allocations: 62.53 kB / 1.31 GB, free: 6.055 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/1.125, allocations: 1.773 MB / 1.312 GB, free: 4.406 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/1.125, allocations: 7.469 kB / 1.312 GB, free: 4.402 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/1.125, allocations: 14.19 kB / 1.312 GB, free: 4.398 MB / 1.154 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.0002818/1.126, allocations: 194.1 kB / 1.312 GB, free: 4.234 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/1.126, allocations: 49.56 kB / 1.312 GB, free: 4.207 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009405/1.127, allocations: 409.8 kB / 1.313 GB, free: 3.961 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/1.127, allocations: 2.312 kB / 1.313 GB, free: 3.961 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/1.127, allocations: 2.156 kB / 1.313 GB, free: 3.961 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/1.127, allocations: 7.984 kB / 1.313 GB, free: 3.953 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/1.128, allocations: 0.8449 MB / 1.313 GB, free: 3.352 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.128, allocations: 0 / 1.313 GB, free: 3.352 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/1.129, allocations: 67.06 kB / 1.313 GB, free: 3.336 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003193/1.129, allocations: 86.88 kB / 1.313 GB, free: 3.281 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/1.129, allocations: 6.625 kB / 1.313 GB, free: 3.277 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/1.131, allocations: 1.525 MB / 1.315 GB, free: 1.832 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.131, allocations: 0 / 1.315 GB, free: 1.832 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/1.132, allocations: 0.5838 MB / 1.316 GB, free: 1.453 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/1.132, allocations: 76.88 kB / 1.316 GB, free: 1.398 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/1.132, allocations: 11.38 kB / 1.316 GB, free: 1.391 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/1.133, allocations: 12.86 kB / 1.316 GB, free: 1.383 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/1.133, allocations: 19.09 kB / 1.316 GB, free: 1.371 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/1.133, allocations: 11.77 kB / 1.316 GB, free: 1.367 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0004516/1.133, allocations: 309.8 kB / 1.316 GB, free: 1.188 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/1.133, allocations: 4 kB / 1.316 GB, free: 1.184 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006346/1.134, allocations: 121.6 kB / 1.316 GB, free: 1.172 MB / 1.154 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 (27): * Single equations (assignments): 24 * 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.00189/1.136, allocations: 468.2 kB / 1.317 GB, free: 0.957 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000828/1.137, allocations: 422.4 kB / 1.317 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.137, allocations: 1.125 kB / 1.317 GB, free: 0.6914 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003455/1.137, allocations: 239.8 kB / 1.317 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/1.138, allocations: 244.7 kB / 1.317 GB, free: 400 kB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/1.14, allocations: 1.021 MB / 1.318 GB, free: 15.7 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/1.14, allocations: 247.4 kB / 1.319 GB, free: 15.54 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003186/1.141, allocations: 96.14 kB / 1.319 GB, free: 15.45 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/1.141, allocations: 40.48 kB / 1.319 GB, free: 15.41 MB / 1.17 GB Notification: Performance of SimCode: time 5.31e-07/1.141, allocations: 0 / 1.319 GB, free: 15.41 MB / 1.17 GB Notification: Performance of Templates: time 0.01783/1.159, allocations: 9.401 MB / 1.328 GB, free: 6.23 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_12_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.308900814969093]