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.001481/0.001481, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002683/0.002683, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.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 3.51/3.51, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 MB / 0.6231 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.002266/0.002266, allocations: 68.98 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4623/0.4645, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 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.04918/0.5137, allocations: 38.58 MB / 1.401 GB, free: 6.844 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.5309, allocations: 10.42 MB / 1.412 GB, free: 12.39 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.5325, allocations: 71.38 kB / 1.412 GB, free: 12.32 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.5338, allocations: 421.2 kB / 1.412 GB, free: 11.91 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.5373, allocations: 1.221 MB / 1.413 GB, free: 10.68 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/0.5394, allocations: 0.7573 MB / 1.414 GB, free: 9.934 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003012/0.5424, allocations: 2.108 MB / 1.416 GB, free: 7.816 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008801/0.5432, allocations: 0.5131 MB / 1.417 GB, free: 7.293 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.5456, allocations: 1.02 MB / 1.418 GB, free: 6.273 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008243/0.5464, allocations: 0.5561 MB / 1.418 GB, free: 5.715 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.5465, allocations: 67.94 kB / 1.418 GB, free: 5.648 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.5479, allocations: 0.5029 MB / 1.419 GB, free: 5.145 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.5481, allocations: 195.2 kB / 1.419 GB, free: 4.953 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003884/0.5485, allocations: 334.5 kB / 1.419 GB, free: 4.625 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.5503, allocations: 1.257 MB / 1.42 GB, free: 3.363 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5503, allocations: 0 / 1.42 GB, free: 3.363 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5503, allocations: 0 / 1.42 GB, free: 3.363 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.5504, allocations: 0 / 1.42 GB, free: 3.363 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.001798/0.5522, allocations: 1.002 MB / 1.421 GB, free: 2.328 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5522, allocations: 8.031 kB / 1.421 GB, free: 2.32 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.5524, allocations: 92.41 kB / 1.422 GB, free: 2.23 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.5537, allocations: 0.6363 MB / 1.422 GB, free: 1.57 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.5537, allocations: 37.38 kB / 1.422 GB, free: 1.535 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-05/0.5538, allocations: 59.94 kB / 1.422 GB, free: 1.477 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.5549, allocations: 0.6378 MB / 1.423 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5549, allocations: 0 / 1.423 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.124e-05/0.5549, allocations: 23.98 kB / 1.423 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.88e-05/0.555, allocations: 12 kB / 1.423 GB, free: 0.75 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.5557, allocations: 387.6 kB / 1.423 GB, free: 380 kB / 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.002884/0.5586, allocations: 1.962 MB / 1.425 GB, free: 14.34 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.5591, allocations: 234.5 kB / 1.425 GB, free: 14.11 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.5593, allocations: 112.8 kB / 1.426 GB, free: 13.99 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/0.561, allocations: 0.7301 MB / 1.426 GB, free: 13.24 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.5611, allocations: 42.5 kB / 1.426 GB, free: 13.19 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 1.834e-06/0.5611, allocations: 0 / 1.426 GB, free: 13.19 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.000703/0.5618, allocations: 302.9 kB / 1.427 GB, free: 12.89 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.5618, allocations: 55.41 kB / 1.427 GB, free: 12.82 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.5625, allocations: 0.5027 MB / 1.427 GB, free: 12.31 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.5625, allocations: 33.7 kB / 1.427 GB, free: 12.27 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.5629, allocations: 363.9 kB / 1.427 GB, free: 11.91 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.961e-05/0.5629, allocations: 75.33 kB / 1.428 GB, free: 11.84 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.5631, allocations: 85.62 kB / 1.428 GB, free: 11.75 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.5633, allocations: 354.8 kB / 1.428 GB, free: 11.39 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.5635, allocations: 87.94 kB / 1.428 GB, free: 11.3 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.5638, allocations: 340.5 kB / 1.428 GB, free: 10.88 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.5643, allocations: 352.7 kB / 1.429 GB, free: 10.48 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5644, allocations: 4 kB / 1.429 GB, free: 10.47 MB / 1.123 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006807/0.565, allocations: 389 kB / 1.429 GB, free: 10.09 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.5651, allocations: 11.94 kB / 1.429 GB, free: 10.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.5651, allocations: 4 kB / 1.429 GB, free: 10.07 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.417e-05/0.5651, allocations: 8 kB / 1.429 GB, free: 10.06 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.5653, allocations: 71.94 kB / 1.429 GB, free: 9.992 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.5654, allocations: 11.94 kB / 1.429 GB, free: 9.98 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.5656, allocations: 43.72 kB / 1.429 GB, free: 9.938 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.914e-05/0.5657, allocations: 20.36 kB / 1.429 GB, free: 9.918 MB / 1.123 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.0002704/0.5659, allocations: 217.6 kB / 1.429 GB, free: 9.695 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.566, allocations: 59.55 kB / 1.43 GB, free: 9.637 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006129/0.5667, allocations: 318.8 kB / 1.43 GB, free: 9.316 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5667, allocations: 7.984 kB / 1.43 GB, free: 9.309 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5667, allocations: 0 / 1.43 GB, free: 9.309 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005532/0.5672, allocations: 488.2 kB / 1.43 GB, free: 8.766 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.5686, allocations: 0.8271 MB / 1.431 GB, free: 7.891 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5686, allocations: 4.125 kB / 1.431 GB, free: 7.887 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.5688, allocations: 43.91 kB / 1.431 GB, free: 7.844 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.5688, allocations: 4 kB / 1.431 GB, free: 7.84 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/0.5688, allocations: 11.94 kB / 1.431 GB, free: 7.828 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.5688, allocations: 3.984 kB / 1.431 GB, free: 7.824 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.5688, allocations: 4 kB / 1.431 GB, free: 7.82 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/0.5696, allocations: 0.5327 MB / 1.432 GB, free: 7.262 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000205/0.5698, allocations: 87.45 kB / 1.432 GB, free: 7.176 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.5699, allocations: 11.98 kB / 1.432 GB, free: 7.164 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.5701, allocations: 8.062 kB / 1.432 GB, free: 7.156 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.5702, allocations: 23.97 kB / 1.432 GB, free: 7.133 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.5702, allocations: 11.98 kB / 1.432 GB, free: 7.121 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004132/0.5706, allocations: 342.9 kB / 1.432 GB, free: 6.789 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5706, allocations: 0 / 1.432 GB, free: 6.789 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007358/0.5714, allocations: 227.3 kB / 1.432 GB, free: 6.566 MB / 1.123 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.0005156/0.5719, allocations: 294.5 kB / 1.433 GB, free: 6.27 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004994/0.5724, allocations: 252.4 kB / 1.433 GB, free: 6.023 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5724, allocations: 4 kB / 1.433 GB, free: 6.02 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.5726, allocations: 113.5 kB / 1.433 GB, free: 5.91 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.5739, allocations: 292 kB / 1.433 GB, free: 5.641 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.5757, allocations: 1.071 MB / 1.434 GB, free: 4.527 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.5761, allocations: 311.7 kB / 1.435 GB, free: 4.195 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0003578/0.5764, allocations: 116.5 kB / 1.435 GB, free: 4.078 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.901e-05/0.5765, allocations: 47.42 kB / 1.435 GB, free: 4.031 MB / 1.123 GB Notification: Performance of SimCode: time 6.21e-07/0.5765, allocations: 0 / 1.435 GB, free: 4.031 MB / 1.123 GB Notification: Performance of Templates: time 0.02227/0.5988, allocations: 11.95 MB / 1.446 GB, free: 8.32 MB / 1.139 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 -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/jenkins/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: 10.13671593181789]