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.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.001412/0.001412, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.001594/0.001594, allocations: 165.3 kB / 22.76 MB, free: 1.652 MB / 18.57 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.483/1.483, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.29/3.29, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Examples.Tutorial.Boiler.System1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.13e-06/5.13e-06, allocations: 4 kB / 0.8775 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.806e-05, allocations: 3.656 kB / 0.8775 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2103/0.2103, allocations: 143.6 MB / 1.018 GB, free: 6.418 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006975/0.2173, allocations: 3.338 MB / 1.021 GB, free: 3.07 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.2179, allocations: 23.81 kB / 1.021 GB, free: 3.047 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.219, allocations: 270.4 kB / 1.021 GB, free: 2.781 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.2217, allocations: 0.9522 MB / 1.022 GB, free: 1.824 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.223, allocations: 462.6 kB / 1.023 GB, free: 1.371 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.00185/0.2249, allocations: 1.145 MB / 1.024 GB, free: 224 kB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006278/0.2255, allocations: 297.1 kB / 1.024 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.2268, allocations: 0.5882 MB / 1.025 GB, free: 15.34 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.228, allocations: 329 kB / 1.025 GB, free: 15.03 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.2281, allocations: 44 kB / 1.025 GB, free: 14.99 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.2294, allocations: 0.5958 MB / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002633/0.2297, allocations: 179.4 kB / 1.026 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003339/0.23, allocations: 187.5 kB / 1.026 GB, free: 14.03 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.2318, allocations: 0.9502 MB / 1.027 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2318, allocations: 0 / 1.027 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2318, allocations: 0 / 1.027 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.989e-05/0.2319, allocations: 0 / 1.027 GB, free: 13.08 MB / 0.9948 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.001945/0.2338, allocations: 0.8192 MB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2338, allocations: 8.031 kB / 1.028 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.2351, allocations: 195.3 kB / 1.028 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009688/0.236, allocations: 474.2 kB / 1.028 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/0.2361, allocations: 24.66 kB / 1.028 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.52e-05/0.2362, allocations: 28 kB / 1.028 GB, free: 11.49 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007783/0.2369, allocations: 427.9 kB / 1.029 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2369, allocations: 0 / 1.029 GB, free: 11.04 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.237, allocations: 12 kB / 1.029 GB, free: 11.03 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.237, allocations: 8.656 kB / 1.029 GB, free: 11.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004899/0.2375, allocations: 230.4 kB / 1.029 GB, free: 10.79 MB / 0.9948 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.002069/0.2396, allocations: 0.9255 MB / 1.03 GB, free: 9.828 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004659/0.24, allocations: 216.9 kB / 1.03 GB, free: 9.609 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.2403, allocations: 96.83 kB / 1.03 GB, free: 9.512 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.2403, allocations: 8 kB / 1.03 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.2408, allocations: 278.4 kB / 1.031 GB, free: 9.195 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=26): time 1.764e-06/0.2408, allocations: 0 / 1.031 GB, free: 9.195 MB / 0.9948 GB Notification: Performance of matching and sorting (n=29): time 0.003387/0.2442, allocations: 1.037 MB / 1.032 GB, free: 8.117 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.2442, allocations: 55.41 kB / 1.032 GB, free: 8.051 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006845/0.2449, allocations: 465.9 kB / 1.032 GB, free: 7.582 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.245, allocations: 33.7 kB / 1.032 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.2452, allocations: 244.5 kB / 1.032 GB, free: 7.301 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.2454, allocations: 103.1 kB / 1.032 GB, free: 7.199 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.2455, allocations: 82.06 kB / 1.032 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002259/0.2457, allocations: 358.7 kB / 1.033 GB, free: 6.754 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.246, allocations: 124.7 kB / 1.033 GB, free: 6.633 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.2464, allocations: 182.9 kB / 1.033 GB, free: 6.438 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/0.2469, allocations: 311.8 kB / 1.033 GB, free: 6.117 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2469, allocations: 0 / 1.033 GB, free: 6.117 MB / 0.9948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001301/0.2482, allocations: 0.5023 MB / 1.034 GB, free: 5.605 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2482, allocations: 7.938 kB / 1.034 GB, free: 5.598 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2483, allocations: 4 kB / 1.034 GB, free: 5.594 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000562/0.2488, allocations: 112.9 kB / 1.034 GB, free: 5.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.2491, allocations: 71.89 kB / 1.034 GB, free: 5.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.2514, allocations: 1.782 MB / 1.036 GB, free: 3.531 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.2518, allocations: 8 kB / 1.036 GB, free: 3.523 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.2518, allocations: 12 kB / 1.036 GB, free: 3.512 MB / 0.9948 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.0003058/0.2521, allocations: 192 kB / 1.036 GB, free: 3.316 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2522, allocations: 59.72 kB / 1.036 GB, free: 3.258 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.2533, allocations: 406.8 kB / 1.036 GB, free: 2.852 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.2533, allocations: 0 / 1.036 GB, free: 2.852 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2533, allocations: 7.938 kB / 1.036 GB, free: 2.844 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.2533, allocations: 3.984 kB / 1.036 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.2552, allocations: 0.843 MB / 1.037 GB, free: 1.957 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2552, allocations: 0 / 1.037 GB, free: 1.957 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.2556, allocations: 59.97 kB / 1.037 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005078/0.2561, allocations: 112.7 kB / 1.037 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.2561, allocations: 15.92 kB / 1.037 GB, free: 1.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.2579, allocations: 1.519 MB / 1.039 GB, free: 148 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2579, allocations: 0 / 1.039 GB, free: 148 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.2593, allocations: 0.5958 MB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.2595, allocations: 71.72 kB / 1.04 GB, free: 15.45 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.705e-05/0.2596, allocations: 16 kB / 1.04 GB, free: 15.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003831/0.26, allocations: 16 kB / 1.04 GB, free: 15.42 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.951e-05/0.2601, allocations: 23.89 kB / 1.04 GB, free: 15.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.2601, allocations: 15.98 kB / 1.04 GB, free: 15.38 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000463/0.2606, allocations: 311.1 kB / 1.04 GB, free: 15.08 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.2606, allocations: 4 kB / 1.04 GB, free: 15.08 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006318/0.2612, allocations: 124 kB / 1.04 GB, free: 14.96 MB / 1.01 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.002228/0.2634, allocations: 466.7 kB / 1.041 GB, free: 14.68 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.2645, allocations: 409.7 kB / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2645, allocations: 0 / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.2649, allocations: 250.7 kB / 1.041 GB, free: 14.01 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.2661, allocations: 249 kB / 1.041 GB, free: 13.77 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.2681, allocations: 0.932 MB / 1.042 GB, free: 12.81 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.2684, allocations: 255.9 kB / 1.043 GB, free: 12.54 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003439/0.2688, allocations: 88.3 kB / 1.043 GB, free: 12.45 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2689, allocations: 36.5 kB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of SimCode: time 7.31e-07/0.2689, allocations: 0 / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of Templates: time 0.01966/0.2886, allocations: 9.49 MB / 1.052 GB, free: 3.125 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.Boiler.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_Boiler_System1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.100806348025799]