Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001397/0.001397, 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.001833/0.001833, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.549/1.549, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.891/2.891, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002626/0.002626, allocations: 67.89 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.159/1.162, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.06156/1.223, allocations: 38.55 MB / 1.192 GB, free: 7.41 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01751/1.241, allocations: 10.41 MB / 1.202 GB, free: 296 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/1.243, allocations: 71.5 kB / 1.202 GB, free: 256 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/1.245, allocations: 428.5 kB / 1.202 GB, free: 15.99 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004548/1.249, allocations: 1.222 MB / 1.203 GB, free: 15.29 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002778/1.252, allocations: 0.7496 MB / 1.204 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004018/1.256, allocations: 2.099 MB / 1.206 GB, free: 13.88 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/1.257, allocations: 0.5303 MB / 1.207 GB, free: 13.6 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/1.26, allocations: 1.016 MB / 1.208 GB, free: 13.12 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/1.262, allocations: 0.5538 MB / 1.208 GB, free: 12.89 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/1.262, allocations: 62.44 kB / 1.208 GB, free: 12.89 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/1.263, allocations: 0.5113 MB / 1.209 GB, free: 12.72 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002853/1.264, allocations: 195.4 kB / 1.209 GB, free: 12.6 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005106/1.264, allocations: 321.4 kB / 1.209 GB, free: 12.44 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002583/1.267, allocations: 1.265 MB / 1.211 GB, free: 11.98 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.267, allocations: 4 kB / 1.211 GB, free: 11.98 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.914e-06/1.267, allocations: 0 / 1.211 GB, free: 11.98 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.303e-05/1.267, allocations: 0 / 1.211 GB, free: 11.98 MB / 1.092 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.002123/1.269, allocations: 0.9982 MB / 1.211 GB, free: 11.29 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.269, allocations: 9.922 kB / 1.212 GB, free: 11.29 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/1.269, allocations: 89.33 kB / 1.212 GB, free: 11.24 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/1.271, allocations: 0.6299 MB / 1.212 GB, free: 10.86 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.45e-05/1.271, allocations: 37.72 kB / 1.212 GB, free: 10.84 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.262e-05/1.271, allocations: 58.38 kB / 1.212 GB, free: 10.82 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/1.272, allocations: 0.6376 MB / 1.213 GB, free: 10.43 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.884e-05/1.272, allocations: 13.06 kB / 1.213 GB, free: 10.42 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.439e-05/1.272, allocations: 16.66 kB / 1.213 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/1.272, allocations: 18.39 kB / 1.213 GB, free: 10.41 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/1.273, allocations: 380.2 kB / 1.213 GB, free: 10.27 MB / 1.092 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.003248/1.276, allocations: 1.97 MB / 1.215 GB, free: 8.875 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006186/1.277, allocations: 225.8 kB / 1.215 GB, free: 8.781 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/1.277, allocations: 110.9 kB / 1.216 GB, free: 8.738 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001851/1.279, allocations: 0.7391 MB / 1.216 GB, free: 8.305 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/1.279, allocations: 33.19 kB / 1.216 GB, free: 8.266 MB / 1.092 GB Notification: Performance of pre-optimization done (n=20): time 2.404e-06/1.279, allocations: 0 / 1.216 GB, free: 8.266 MB / 1.092 GB Notification: Performance of matching and sorting (n=20): time 0.0007003/1.28, allocations: 312.5 kB / 1.217 GB, free: 8.129 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/1.28, allocations: 54.3 kB / 1.217 GB, free: 8.066 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007103/1.28, allocations: 0.4955 MB / 1.217 GB, free: 7.824 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/1.281, allocations: 32.23 kB / 1.217 GB, free: 7.789 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/1.281, allocations: 368.5 kB / 1.218 GB, free: 7.496 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.24e-05/1.281, allocations: 80.59 kB / 1.218 GB, free: 7.434 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/1.281, allocations: 80.52 kB / 1.218 GB, free: 7.387 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0003461/1.281, allocations: 358.7 kB / 1.218 GB, free: 7.055 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/1.282, allocations: 89.58 kB / 1.218 GB, free: 7.023 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/1.282, allocations: 343 kB / 1.218 GB, free: 6.688 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/1.283, allocations: 339.2 kB / 1.219 GB, free: 6.422 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.283, allocations: 1.438 kB / 1.219 GB, free: 6.422 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007397/1.283, allocations: 396.4 kB / 1.219 GB, free: 6.246 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.283, allocations: 11.25 kB / 1.219 GB, free: 6.242 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.283, allocations: 4.406 kB / 1.219 GB, free: 6.242 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/1.283, allocations: 8.281 kB / 1.219 GB, free: 6.242 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/1.284, allocations: 81.62 kB / 1.219 GB, free: 6.227 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/1.284, allocations: 8.562 kB / 1.219 GB, free: 6.227 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/1.284, allocations: 32.78 kB / 1.219 GB, free: 6.207 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/1.284, allocations: 29 kB / 1.219 GB, free: 6.195 MB / 1.092 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.0003177/1.284, allocations: 213.7 kB / 1.22 GB, free: 6.023 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/1.285, allocations: 60.52 kB / 1.22 GB, free: 5.988 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006924/1.285, allocations: 330.3 kB / 1.22 GB, free: 5.84 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/1.285, allocations: 3.359 kB / 1.22 GB, free: 5.84 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.285, allocations: 1.031 kB / 1.22 GB, free: 5.84 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000617/1.286, allocations: 498.5 kB / 1.22 GB, free: 5.426 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/1.288, allocations: 0.8183 MB / 1.221 GB, free: 4.941 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.288, allocations: 2.219 kB / 1.221 GB, free: 4.941 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/1.288, allocations: 45.22 kB / 1.221 GB, free: 4.934 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.288, allocations: 7.219 kB / 1.221 GB, free: 4.93 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/1.288, allocations: 9.25 kB / 1.221 GB, free: 4.926 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/1.288, allocations: 3 kB / 1.221 GB, free: 4.926 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.288, allocations: 1.219 kB / 1.221 GB, free: 4.926 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009642/1.289, allocations: 0.5404 MB / 1.222 GB, free: 4.602 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/1.289, allocations: 87.41 kB / 1.222 GB, free: 4.551 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/1.289, allocations: 7.891 kB / 1.222 GB, free: 4.547 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/1.289, allocations: 8.812 kB / 1.222 GB, free: 4.543 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/1.289, allocations: 19.02 kB / 1.222 GB, free: 4.539 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/1.289, allocations: 12.38 kB / 1.222 GB, free: 4.539 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004961/1.29, allocations: 347.7 kB / 1.222 GB, free: 4.375 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.29, allocations: 0 / 1.222 GB, free: 4.375 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001126/1.291, allocations: 237.1 kB / 1.222 GB, free: 4.309 MB / 1.092 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.0005836/1.292, allocations: 282 kB / 1.223 GB, free: 4.156 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006084/1.292, allocations: 249.2 kB / 1.223 GB, free: 4.078 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.292, allocations: 1.844 kB / 1.223 GB, free: 4.078 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002131/1.292, allocations: 116.1 kB / 1.223 GB, free: 4.039 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/1.294, allocations: 290.3 kB / 1.223 GB, free: 3.961 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/1.296, allocations: 1.076 MB / 1.224 GB, free: 3.312 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/1.296, allocations: 312.6 kB / 1.225 GB, free: 3.195 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000484/1.297, allocations: 112.5 kB / 1.225 GB, free: 3.16 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/1.297, allocations: 49.97 kB / 1.225 GB, free: 3.148 MB / 1.092 GB Notification: Performance of SimCode: time 6.11e-07/1.297, allocations: 0 / 1.225 GB, free: 3.148 MB / 1.092 GB Notification: Performance of Templates: time 0.02612/1.323, allocations: 10.99 MB / 1.236 GB, free: 1.699 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; mkfifo Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe >> ../files/Buildings_12_Buildings.Templates.Components.Validation.Tanks.sim & ./Buildings_12_Buildings.Templates.Components.Validation.Tanks -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Components.Validation.Tanks_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Components_Validation_Tanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.239329349948093]