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.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.001402/0.001402, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001493/0.001493, allocations: 186 kB / 20.78 MB, free: 1.547 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.503/1.503, allocations: 225.6 MB / 249.4 MB, free: 3.152 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.094/3.094, allocations: 496.2 MB / 0.7819 GB, free: 12.42 MB / 0.6231 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.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: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.423/1.424, allocations: 173.6 MB / 1.305 GB, free: 33.45 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.03641/1.461, allocations: 42.39 MB / 1.347 GB, free: 3.336 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01851/1.479, allocations: 11.26 MB / 1.358 GB, free: 11.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/1.482, allocations: 50.84 kB / 1.358 GB, free: 11.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/1.484, allocations: 435 kB / 1.358 GB, free: 11.02 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004597/1.488, allocations: 1.219 MB / 1.359 GB, free: 10.3 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/1.491, allocations: 0.7524 MB / 1.36 GB, free: 9.879 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004373/1.495, allocations: 2.071 MB / 1.362 GB, free: 8.891 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/1.497, allocations: 0.5233 MB / 1.363 GB, free: 8.621 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003094/1.5, allocations: 0.9883 MB / 1.364 GB, free: 8.145 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/1.501, allocations: 0.5887 MB / 1.364 GB, free: 7.883 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/1.501, allocations: 62.72 kB / 1.364 GB, free: 7.883 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002095/1.503, allocations: 0.644 MB / 1.365 GB, free: 7.637 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002985/1.503, allocations: 191.6 kB / 1.365 GB, free: 7.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006034/1.504, allocations: 398.1 kB / 1.366 GB, free: 7.285 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002759/1.507, allocations: 1.265 MB / 1.367 GB, free: 6.816 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.507, allocations: 3.938 kB / 1.367 GB, free: 6.812 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.593e-06/1.507, allocations: 3.938 kB / 1.367 GB, free: 6.809 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.709e-05/1.507, allocations: 1.406 kB / 1.367 GB, free: 6.809 MB / 1.076 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.002191/1.509, allocations: 1.077 MB / 1.368 GB, free: 6.02 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.509, allocations: 8.781 kB / 1.368 GB, free: 6.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/1.509, allocations: 92.89 kB / 1.368 GB, free: 5.973 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/1.511, allocations: 0.7012 MB / 1.369 GB, free: 5.52 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.432e-05/1.511, allocations: 38.25 kB / 1.369 GB, free: 5.504 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.523e-05/1.511, allocations: 58.55 kB / 1.369 GB, free: 5.48 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/1.512, allocations: 0.5554 MB / 1.369 GB, free: 5.195 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/1.512, allocations: 1.438 kB / 1.369 GB, free: 5.195 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/1.512, allocations: 20.62 kB / 1.369 GB, free: 5.18 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/1.512, allocations: 18.19 kB / 1.369 GB, free: 5.176 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008087/1.513, allocations: 382.4 kB / 1.37 GB, free: 5.039 MB / 1.076 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.004123/1.517, allocations: 2.671 MB / 1.372 GB, free: 2.984 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006929/1.518, allocations: 221.1 kB / 1.372 GB, free: 2.895 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002278/1.518, allocations: 116.1 kB / 1.373 GB, free: 2.848 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002689/1.521, allocations: 1.816 MB / 1.374 GB, free: 1.133 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/1.521, allocations: 36.41 kB / 1.374 GB, free: 1.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 2.665e-06/1.521, allocations: 7.938 kB / 1.374 GB, free: 1.082 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0007487/1.521, allocations: 322.3 kB / 1.375 GB, free: 0.9414 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/1.521, allocations: 58.89 kB / 1.375 GB, free: 0.875 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009601/1.522, allocations: 0.6374 MB / 1.375 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/1.522, allocations: 33.2 kB / 1.375 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003529/1.523, allocations: 354 kB / 1.376 GB, free: 280 kB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.078e-05/1.523, allocations: 75.95 kB / 1.376 GB, free: 220 kB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/1.523, allocations: 77.05 kB / 1.376 GB, free: 176 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002671/1.523, allocations: 377.5 kB / 1.376 GB, free: 15.83 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/1.523, allocations: 86.14 kB / 1.376 GB, free: 15.8 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/1.524, allocations: 238.8 kB / 1.377 GB, free: 15.59 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/1.524, allocations: 342 kB / 1.377 GB, free: 15.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.524, allocations: 5.25 kB / 1.377 GB, free: 15.31 MB / 1.092 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007509/1.525, allocations: 409.9 kB / 1.377 GB, free: 15.13 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/1.525, allocations: 7.953 kB / 1.377 GB, free: 15.13 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.525, allocations: 11.84 kB / 1.377 GB, free: 15.12 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.525, allocations: 7.672 kB / 1.377 GB, free: 15.12 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/1.525, allocations: 75.75 kB / 1.377 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/1.525, allocations: 6.938 kB / 1.377 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/1.526, allocations: 55.7 kB / 1.377 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/1.526, allocations: 19.66 kB / 1.377 GB, free: 15.07 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.0002968/1.526, allocations: 208.3 kB / 1.378 GB, free: 14.91 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/1.526, allocations: 75.94 kB / 1.378 GB, free: 14.86 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006647/1.527, allocations: 331.3 kB / 1.378 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/1.527, allocations: 7.531 kB / 1.378 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.527, allocations: 0 / 1.378 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005966/1.528, allocations: 490.4 kB / 1.378 GB, free: 14.3 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/1.529, allocations: 0.956 MB / 1.379 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.529, allocations: 9.312 kB / 1.379 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/1.529, allocations: 38.38 kB / 1.379 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/1.529, allocations: 6.531 kB / 1.379 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/1.529, allocations: 9.609 kB / 1.379 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.529, allocations: 2.469 kB / 1.379 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/1.529, allocations: 6.031 kB / 1.379 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008588/1.53, allocations: 0.5461 MB / 1.38 GB, free: 13.36 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/1.531, allocations: 182 kB / 1.38 GB, free: 13.21 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/1.531, allocations: 15.67 kB / 1.38 GB, free: 13.2 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002763/1.531, allocations: 13.23 kB / 1.38 GB, free: 13.19 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/1.531, allocations: 17.5 kB / 1.38 GB, free: 13.18 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/1.531, allocations: 12.27 kB / 1.38 GB, free: 13.18 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006772/1.532, allocations: 469.1 kB / 1.381 GB, free: 12.98 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.532, allocations: 1.438 kB / 1.381 GB, free: 12.98 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008816/1.533, allocations: 214.6 kB / 1.381 GB, free: 12.93 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.000727/1.533, allocations: 304.5 kB / 1.381 GB, free: 12.77 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005717/1.534, allocations: 255 kB / 1.381 GB, free: 12.68 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.534, allocations: 0 / 1.381 GB, free: 12.68 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/1.534, allocations: 110.4 kB / 1.382 GB, free: 12.64 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.536, allocations: 436.4 kB / 1.382 GB, free: 12.52 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/1.538, allocations: 1.106 MB / 1.383 GB, free: 11.86 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/1.539, allocations: 0.9086 MB / 1.384 GB, free: 11.14 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005661/1.539, allocations: 131.8 kB / 1.384 GB, free: 11.11 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/1.539, allocations: 57.89 kB / 1.384 GB, free: 11.09 MB / 1.092 GB Notification: Performance of SimCode: time 1.513e-06/1.539, allocations: 0 / 1.384 GB, free: 11.09 MB / 1.092 GB Notification: Performance of Templates: time 0.03719/1.577, allocations: 14.25 MB / 1.398 GB, free: 9.844 MB / 1.092 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 400] 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.909559888765216]