Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Components.Validation.Tanks.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.001316/0.001316, allocations: 79.19 kB / 19.76 MB, free: 2.031 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.001374/0.001374, allocations: 156 kB / 23.01 MB, free: 4.945 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.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 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 2.903/2.903, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Tanks") translateModel(Buildings.Templates.Components.Validation.Tanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intFlo.y|tan.V|sou.T|tan.sta_b.T|noTan.sta_b.T",fileNamePrefix="Buildings_latest_Buildings.Templates.Components.Validation.Tanks") [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.002041/0.002041, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9083/0.9104, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/Templates/Components/Tanks/Buffer.mo:9:3-12:41:writable] Warning: Parameter noTan.V has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(Buildings.Templates.Components.Validation.Tanks): time 0.03948/0.9498, allocations: 38.57 MB / 1.224 GB, free: 6.242 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0173/0.9671, allocations: 10.42 MB / 1.234 GB, free: 15.11 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.9691, allocations: 75.03 kB / 1.235 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.9705, allocations: 420.1 kB / 1.235 GB, free: 14.82 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003889/0.9744, allocations: 1.223 MB / 1.236 GB, free: 14.12 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.9767, allocations: 0.7549 MB / 1.237 GB, free: 13.71 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00347/0.9801, allocations: 2.096 MB / 1.239 GB, free: 12.71 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009988/0.9811, allocations: 0.5226 MB / 1.239 GB, free: 12.43 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.9841, allocations: 1.02 MB / 1.24 GB, free: 11.95 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.9851, allocations: 0.5538 MB / 1.241 GB, free: 11.73 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.9852, allocations: 61.81 kB / 1.241 GB, free: 11.73 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.9868, allocations: 0.5164 MB / 1.241 GB, free: 11.55 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.9871, allocations: 190.5 kB / 1.242 GB, free: 11.43 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.9875, allocations: 326.4 kB / 1.242 GB, free: 11.27 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/0.9896, allocations: 1.26 MB / 1.243 GB, free: 10.82 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9896, allocations: 3.938 kB / 1.243 GB, free: 10.81 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.313e-06/0.9896, allocations: 4 kB / 1.243 GB, free: 10.81 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.9896, allocations: 1.281 kB / 1.243 GB, free: 10.81 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001876/0.9915, allocations: 1.001 MB / 1.244 GB, free: 10.11 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.9915, allocations: 9.781 kB / 1.244 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.9918, allocations: 88.8 kB / 1.244 GB, free: 10.07 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.9931, allocations: 0.6348 MB / 1.245 GB, free: 9.68 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.9931, allocations: 37.31 kB / 1.245 GB, free: 9.664 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.831e-05/0.9932, allocations: 54.03 kB / 1.245 GB, free: 9.645 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.9943, allocations: 0.6376 MB / 1.246 GB, free: 9.266 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.9943, allocations: 1.219 kB / 1.246 GB, free: 9.266 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-05/0.9944, allocations: 25 kB / 1.246 GB, free: 9.246 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.9944, allocations: 13.98 kB / 1.246 GB, free: 9.246 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007223/0.9952, allocations: 377.7 kB / 1.246 GB, free: 9.109 MB / 1.107 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.002927/0.9981, allocations: 1.968 MB / 1.248 GB, free: 7.715 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/0.9987, allocations: 238.6 kB / 1.248 GB, free: 7.609 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.9989, allocations: 119.6 kB / 1.248 GB, free: 7.559 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00175/1.001, allocations: 0.7397 MB / 1.249 GB, free: 7.125 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/1.001, allocations: 44.56 kB / 1.249 GB, free: 7.074 MB / 1.107 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/1.001, allocations: 0 / 1.249 GB, free: 7.074 MB / 1.107 GB Notification: Performance of matching and sorting (n=20): time 0.0006943/1.001, allocations: 302.1 kB / 1.249 GB, free: 6.945 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/1.001, allocations: 54.42 kB / 1.249 GB, free: 6.883 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006561/1.002, allocations: 0.4997 MB / 1.25 GB, free: 6.637 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/1.002, allocations: 27.17 kB / 1.25 GB, free: 6.605 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000336/1.002, allocations: 368.7 kB / 1.25 GB, free: 6.312 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.375e-05/1.003, allocations: 73.2 kB / 1.25 GB, free: 6.258 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/1.003, allocations: 84.44 kB / 1.25 GB, free: 6.207 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001871/1.003, allocations: 358.1 kB / 1.251 GB, free: 5.875 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/1.003, allocations: 85.72 kB / 1.251 GB, free: 5.848 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/1.003, allocations: 343.5 kB / 1.251 GB, free: 5.512 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/1.004, allocations: 340.9 kB / 1.251 GB, free: 5.246 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.004, allocations: 1.531 kB / 1.251 GB, free: 5.246 MB / 1.107 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006882/1.005, allocations: 388.5 kB / 1.252 GB, free: 5.078 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.005, allocations: 19.12 kB / 1.252 GB, free: 5.066 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.005, allocations: 4.938 kB / 1.252 GB, free: 5.066 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.005, allocations: 7.594 kB / 1.252 GB, free: 5.066 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/1.005, allocations: 74.52 kB / 1.252 GB, free: 5.059 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/1.005, allocations: 11.09 kB / 1.252 GB, free: 5.055 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/1.005, allocations: 37.08 kB / 1.252 GB, free: 5.031 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/1.005, allocations: 21.94 kB / 1.252 GB, free: 5.027 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (intFlo.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002775/1.006, allocations: 210 kB / 1.252 GB, free: 4.859 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/1.006, allocations: 55.77 kB / 1.252 GB, free: 4.828 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/1.006, allocations: 334.1 kB / 1.253 GB, free: 4.676 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/1.006, allocations: 8.297 kB / 1.253 GB, free: 4.672 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.006, allocations: 0.6562 kB / 1.253 GB, free: 4.672 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005397/1.007, allocations: 487.7 kB / 1.253 GB, free: 4.266 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/1.008, allocations: 0.8256 MB / 1.254 GB, free: 3.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.008, allocations: 1.312 kB / 1.254 GB, free: 3.66 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/1.008, allocations: 44.12 kB / 1.254 GB, free: 3.648 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/1.008, allocations: 2.625 kB / 1.254 GB, free: 3.648 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/1.009, allocations: 15.31 kB / 1.254 GB, free: 3.637 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.009, allocations: 1.219 kB / 1.254 GB, free: 3.637 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.009, allocations: 2.406 kB / 1.254 GB, free: 3.637 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007693/1.009, allocations: 0.5387 MB / 1.254 GB, free: 3.27 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/1.009, allocations: 90.05 kB / 1.255 GB, free: 3.203 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/1.01, allocations: 6.75 kB / 1.255 GB, free: 3.199 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/1.01, allocations: 16.05 kB / 1.255 GB, free: 3.188 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/1.01, allocations: 14.89 kB / 1.255 GB, free: 3.18 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/1.01, allocations: 20.23 kB / 1.255 GB, free: 3.168 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004308/1.01, allocations: 350.9 kB / 1.255 GB, free: 2.957 MB / 1.107 GB Notification: Performance of sort global known variables: time 9e-08/1.01, allocations: 0 / 1.255 GB, free: 2.957 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008759/1.011, allocations: 225.8 kB / 1.255 GB, free: 2.898 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (tan.vol.dynBal.U,intFlo.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005205/1.012, allocations: 268.1 kB / 1.255 GB, free: 2.734 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0005113/1.012, allocations: 257 kB / 1.256 GB, free: 2.621 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.012, allocations: 0 / 1.256 GB, free: 2.621 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/1.012, allocations: 118.1 kB / 1.256 GB, free: 2.566 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/1.014, allocations: 289.9 kB / 1.256 GB, free: 2.43 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/1.016, allocations: 1.081 MB / 1.257 GB, free: 1.707 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/1.016, allocations: 314.1 kB / 1.257 GB, free: 1.508 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003788/1.016, allocations: 106.8 kB / 1.258 GB, free: 1.453 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/1.017, allocations: 51.11 kB / 1.258 GB, free: 1.438 MB / 1.107 GB Notification: Performance of SimCode: time 3.31e-07/1.017, allocations: 0 / 1.258 GB, free: 1.438 MB / 1.107 GB Notification: Performance of Templates: time 0.02113/1.038, allocations: 10.98 MB / 1.268 GB, free: 11.87 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_latest_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Components.Validation.Tanks.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.349704049061984]