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: 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.001164/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001357/0.001357, allocations: 193.8 kB / 16.25 MB, free: 6.641 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.419/1.419, allocations: 222.9 MB / 239.9 MB, free: 4.488 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.454/2.454, allocations: 390.2 MB / 0.6643 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8742/0.8766, allocations: 140.4 MB / 0.9491 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2143/1.091, allocations: 160.7 MB / 1.106 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006886/1.098, allocations: 3.448 MB / 1.109 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/1.099, allocations: 15.88 kB / 1.109 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001195/1.1, allocations: 250.9 kB / 1.11 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002945/1.103, allocations: 0.7937 MB / 1.11 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/1.105, allocations: 432.8 kB / 1.111 GB, free: 11.81 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001809/1.106, allocations: 1.095 MB / 1.112 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006838/1.107, allocations: 324.2 kB / 1.112 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009973/1.108, allocations: 410.3 kB / 1.113 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/1.109, allocations: 366.6 kB / 1.113 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/1.11, allocations: 40 kB / 1.113 GB, free: 9.598 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/1.111, allocations: 0.7287 MB / 1.114 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003225/1.112, allocations: 167.5 kB / 1.114 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005033/1.112, allocations: 270.7 kB / 1.114 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002105/1.114, allocations: 0.9776 MB / 1.115 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.114, allocations: 0 / 1.115 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.994e-06/1.114, allocations: 0 / 1.115 GB, free: 7.457 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.421e-05/1.114, allocations: 0 / 1.115 GB, free: 7.457 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.00206/1.116, allocations: 0.868 MB / 1.116 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.117, allocations: 8.031 kB / 1.116 GB, free: 6.527 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/1.118, allocations: 151.2 kB / 1.116 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/1.119, allocations: 496.8 kB / 1.117 GB, free: 5.855 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/1.119, allocations: 28.5 kB / 1.117 GB, free: 5.828 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/1.119, allocations: 28 kB / 1.117 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/1.119, allocations: 315.7 kB / 1.117 GB, free: 5.48 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/1.119, allocations: 4 kB / 1.117 GB, free: 5.477 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/1.12, allocations: 11.94 kB / 1.117 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/1.12, allocations: 16.55 kB / 1.117 GB, free: 5.449 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/1.12, allocations: 218.1 kB / 1.117 GB, free: 5.234 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.00233/1.122, allocations: 1.422 MB / 1.119 GB, free: 3.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/1.123, allocations: 223.8 kB / 1.119 GB, free: 3.453 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/1.123, allocations: 108.8 kB / 1.119 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.2e-05/1.123, allocations: 7.984 kB / 1.119 GB, free: 3.336 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003329/1.123, allocations: 161.2 kB / 1.119 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.575e-06/1.123, allocations: 0 / 1.119 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29): time 0.003152/1.127, allocations: 1.086 MB / 1.12 GB, free: 2.023 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/1.127, allocations: 63.34 kB / 1.12 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000635/1.127, allocations: 457.8 kB / 1.121 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/1.127, allocations: 37.64 kB / 1.121 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/1.128, allocations: 232.3 kB / 1.121 GB, free: 1.219 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/1.128, allocations: 106.5 kB / 1.121 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/1.128, allocations: 85.91 kB / 1.121 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.128, allocations: 350.8 kB / 1.121 GB, free: 0.6719 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002346/1.128, allocations: 128.7 kB / 1.121 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/1.129, allocations: 178.7 kB / 1.122 GB, free: 360 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004552/1.129, allocations: 307.9 kB / 1.122 GB, free: 36 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.129, allocations: 4 kB / 1.122 GB, free: 32 kB / 0.8731 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001032/1.13, allocations: 486 kB / 1.122 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/1.13, allocations: 8 kB / 1.122 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.13, allocations: 3.984 kB / 1.122 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/1.13, allocations: 80.92 kB / 1.122 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/1.131, allocations: 63.92 kB / 1.123 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/1.133, allocations: 1.915 MB / 1.124 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/1.133, allocations: 31.92 kB / 1.124 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/1.133, allocations: 12 kB / 1.124 GB, free: 13.29 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.0002995/1.134, allocations: 198 kB / 1.125 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-05/1.134, allocations: 47.47 kB / 1.125 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/1.134, allocations: 56.61 kB / 1.125 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/1.134, allocations: 4 kB / 1.125 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.134, allocations: 4 kB / 1.125 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/1.134, allocations: 0 / 1.125 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/1.136, allocations: 0.9653 MB / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.136, allocations: 0 / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003605/1.136, allocations: 63.97 kB / 1.126 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003133/1.136, allocations: 72.8 kB / 1.126 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/1.136, allocations: 23.86 kB / 1.126 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/1.138, allocations: 1.644 MB / 1.127 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.138, allocations: 0 / 1.127 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/1.139, allocations: 0.5704 MB / 1.128 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/1.139, allocations: 148.6 kB / 1.128 GB, free: 9.258 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.376e-05/1.139, allocations: 12.06 kB / 1.128 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/1.14, allocations: 29.72 kB / 1.128 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/1.14, allocations: 19.97 kB / 1.128 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-05/1.14, allocations: 15.94 kB / 1.128 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003844/1.14, allocations: 307.1 kB / 1.129 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.14, allocations: 0 / 1.129 GB, free: 8.887 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006207/1.141, allocations: 132 kB / 1.129 GB, free: 8.758 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.001147/1.142, allocations: 433.6 kB / 1.129 GB, free: 8.488 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00096/1.143, allocations: 442.5 kB / 1.129 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.143, allocations: 0 / 1.129 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/1.143, allocations: 250.5 kB / 1.13 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/1.145, allocations: 242.9 kB / 1.13 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/1.147, allocations: 1.144 MB / 1.131 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/1.147, allocations: 0.8465 MB / 1.132 GB, free: 5.504 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004775/1.148, allocations: 92.27 kB / 1.132 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/1.148, allocations: 43.42 kB / 1.132 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of SimCode: time 9.72e-07/1.148, allocations: 0 / 1.132 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of Templates: time 0.01922/1.167, allocations: 8.784 MB / 1.141 GB, free: 12.71 MB / 0.9044 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