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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 109.2 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 193.2 kB / 20.03 MB, free: 3.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.016/3.016, allocations: 490 MB / 0.7695 GB, free: 3.094 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=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 0.002233/0.002233, allocations: 68.05 kB / 1.104 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9098/0.912, allocations: 164 MB / 1.264 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.2183/1.13, allocations: 163 MB / 1.423 GB, free: 14.04 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.006504/1.137, allocations: 3.48 MB / 1.426 GB, free: 11.23 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008935/1.138, allocations: 16.62 kB / 1.426 GB, free: 11.22 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/1.139, allocations: 281.7 kB / 1.427 GB, free: 11 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002874/1.142, allocations: 0.8651 MB / 1.427 GB, free: 10.33 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001547/1.143, allocations: 478.4 kB / 1.428 GB, free: 9.969 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001987/1.145, allocations: 1.095 MB / 1.429 GB, free: 9.328 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006817/1.146, allocations: 324.8 kB / 1.429 GB, free: 9.109 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/1.147, allocations: 438 kB / 1.43 GB, free: 8.852 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/1.149, allocations: 347.2 kB / 1.43 GB, free: 8.648 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/1.149, allocations: 39.97 kB / 1.43 GB, free: 8.648 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/1.151, allocations: 0.6962 MB / 1.431 GB, free: 8.273 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002976/1.151, allocations: 166 kB / 1.431 GB, free: 8.16 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005536/1.151, allocations: 275.9 kB / 1.431 GB, free: 7.977 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/1.153, allocations: 0.9428 MB / 1.432 GB, free: 7.363 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/1.153, allocations: 0 / 1.432 GB, free: 7.363 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.683e-06/1.154, allocations: 0 / 1.432 GB, free: 7.363 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.531e-05/1.154, allocations: 1.125 kB / 1.432 GB, free: 7.363 MB / 1.123 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.002092/1.156, allocations: 0.8921 MB / 1.433 GB, free: 6.605 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/1.156, allocations: 9.094 kB / 1.433 GB, free: 6.605 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/1.157, allocations: 154.3 kB / 1.433 GB, free: 6.535 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/1.158, allocations: 0.5022 MB / 1.434 GB, free: 6.102 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/1.158, allocations: 29.67 kB / 1.434 GB, free: 6.086 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.187e-05/1.158, allocations: 30.16 kB / 1.434 GB, free: 6.074 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006689/1.159, allocations: 321.8 kB / 1.434 GB, free: 5.875 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/1.159, allocations: 1.156 kB / 1.434 GB, free: 5.875 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.759e-05/1.159, allocations: 11.59 kB / 1.434 GB, free: 5.867 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/1.159, allocations: 18.05 kB / 1.434 GB, free: 5.859 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/1.159, allocations: 220.2 kB / 1.434 GB, free: 5.754 MB / 1.123 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.00263/1.162, allocations: 1.516 MB / 1.436 GB, free: 4.352 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004326/1.163, allocations: 219.8 kB / 1.436 GB, free: 4.23 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/1.163, allocations: 106.5 kB / 1.436 GB, free: 4.176 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/1.163, allocations: 7.141 kB / 1.436 GB, free: 4.172 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003462/1.163, allocations: 164.5 kB / 1.436 GB, free: 4.055 MB / 1.123 GB Notification: Performance of pre-optimization done (n=26): time 2.575e-06/1.163, allocations: 5.188 kB / 1.436 GB, free: 4.051 MB / 1.123 GB Notification: Performance of matching and sorting (n=29): time 0.003656/1.167, allocations: 1.088 MB / 1.437 GB, free: 3.328 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/1.167, allocations: 61.53 kB / 1.437 GB, free: 3.258 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007494/1.168, allocations: 473.3 kB / 1.438 GB, free: 2.98 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.729e-05/1.168, allocations: 32.45 kB / 1.438 GB, free: 2.945 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/1.168, allocations: 241.3 kB / 1.438 GB, free: 2.73 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.168, allocations: 108.9 kB / 1.438 GB, free: 2.637 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/1.168, allocations: 66.95 kB / 1.438 GB, free: 2.594 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001959/1.168, allocations: 363.1 kB / 1.439 GB, free: 2.242 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/1.169, allocations: 127.9 kB / 1.439 GB, free: 2.18 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/1.169, allocations: 177.2 kB / 1.439 GB, free: 2.062 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005453/1.17, allocations: 301.1 kB / 1.439 GB, free: 1.883 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.17, allocations: 0 / 1.439 GB, free: 1.883 MB / 1.123 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001071/1.171, allocations: 496.8 kB / 1.44 GB, free: 1.613 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.171, allocations: 5.594 kB / 1.44 GB, free: 1.613 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/1.171, allocations: 5.438 kB / 1.44 GB, free: 1.609 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003719/1.171, allocations: 85.55 kB / 1.44 GB, free: 1.562 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/1.171, allocations: 67.72 kB / 1.44 GB, free: 1.547 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/1.174, allocations: 1.908 MB / 1.442 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/1.174, allocations: 9.5 kB / 1.442 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/1.174, allocations: 13.34 kB / 1.442 GB, free: 15.71 MB / 1.139 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.0003/1.174, allocations: 193.2 kB / 1.442 GB, free: 15.55 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/1.174, allocations: 57.17 kB / 1.442 GB, free: 15.52 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/1.175, allocations: 58.42 kB / 1.442 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.175, allocations: 2.5 kB / 1.442 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.175, allocations: 1.25 kB / 1.442 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.175, allocations: 1.281 kB / 1.442 GB, free: 15.47 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/1.176, allocations: 0.9711 MB / 1.443 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.176, allocations: 1.5 kB / 1.443 GB, free: 14.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003753/1.177, allocations: 60.62 kB / 1.443 GB, free: 14.71 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000324/1.177, allocations: 87.12 kB / 1.443 GB, free: 14.66 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/1.177, allocations: 18.66 kB / 1.443 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/1.179, allocations: 1.648 MB / 1.445 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.179, allocations: 0 / 1.445 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.18, allocations: 0.5777 MB / 1.445 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/1.18, allocations: 152.8 kB / 1.445 GB, free: 12.44 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/1.18, allocations: 8 kB / 1.445 GB, free: 12.43 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/1.181, allocations: 15.92 kB / 1.445 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/1.181, allocations: 19.97 kB / 1.445 GB, free: 12.4 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/1.181, allocations: 8 kB / 1.445 GB, free: 12.39 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004124/1.181, allocations: 311.1 kB / 1.446 GB, free: 12.09 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.6e-07/1.181, allocations: 0 / 1.446 GB, free: 12.09 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005947/1.182, allocations: 128 kB / 1.446 GB, free: 11.96 MB / 1.139 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.001595/1.183, allocations: 428.1 kB / 1.446 GB, free: 11.7 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0008314/1.184, allocations: 426.4 kB / 1.447 GB, free: 11.27 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.184, allocations: 0 / 1.447 GB, free: 11.27 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003747/1.185, allocations: 247.1 kB / 1.447 GB, free: 11.02 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/1.186, allocations: 249.7 kB / 1.447 GB, free: 10.78 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/1.188, allocations: 1.039 MB / 1.448 GB, free: 9.703 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/1.188, allocations: 0.8543 MB / 1.449 GB, free: 8.824 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/1.189, allocations: 39.42 kB / 1.449 GB, free: 8.785 MB / 1.139 GB Notification: Performance of SimCode: time 4.11e-07/1.189, allocations: 0 / 1.449 GB, free: 8.785 MB / 1.139 GB Notification: Performance of Templates: time 0.01471/1.203, allocations: 9.276 MB / 1.458 GB, free: 15.55 MB / 1.154 GB " [Timeout remaining time 299] 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/jenkins1/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: 13.194985194015317]