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.001352/0.001352, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00178/0.00178, allocations: 201.2 kB / 22.17 MB, free: 5.211 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.336/1.336, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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 2.976/2.976, allocations: 497.2 MB / 0.7845 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] 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.00185/0.00185, allocations: 79.86 kB / 1.139 GB, free: 33.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2981, allocations: 173.9 MB / 1.309 GB, free: 15.97 MB / 1.014 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.04661/0.3447, allocations: 42.39 MB / 1.351 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01593/0.3606, allocations: 11.26 MB / 1.362 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001823/0.3624, allocations: 47.75 kB / 1.362 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.3638, allocations: 449 kB / 1.362 GB, free: 9.645 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00361/0.3674, allocations: 1.221 MB / 1.363 GB, free: 8.418 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.3695, allocations: 0.7382 MB / 1.364 GB, free: 7.688 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002939/0.3724, allocations: 2.077 MB / 1.366 GB, free: 5.605 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009459/0.3734, allocations: 0.5242 MB / 1.367 GB, free: 5.066 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.3757, allocations: 0.9846 MB / 1.368 GB, free: 4.082 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007651/0.3765, allocations: 0.5912 MB / 1.368 GB, free: 3.488 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.001e-05/0.3765, allocations: 68 kB / 1.368 GB, free: 3.422 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.3779, allocations: 0.6394 MB / 1.369 GB, free: 2.781 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.3781, allocations: 191.2 kB / 1.369 GB, free: 2.594 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.3785, allocations: 402.1 kB / 1.369 GB, free: 2.199 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.3801, allocations: 1.25 MB / 1.371 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3801, allocations: 7.938 kB / 1.371 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.066e-06/0.3801, allocations: 4 kB / 1.371 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.3802, allocations: 0 / 1.371 GB, free: 0.9336 MB / 1.061 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.001781/0.3819, allocations: 1.085 MB / 1.372 GB, free: 15.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.382, allocations: 8.031 kB / 1.372 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.3822, allocations: 92.41 kB / 1.372 GB, free: 15.7 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.3834, allocations: 0.7007 MB / 1.372 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.3834, allocations: 37.38 kB / 1.372 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.307e-05/0.3835, allocations: 51.94 kB / 1.373 GB, free: 14.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009275/0.3844, allocations: 0.5664 MB / 1.373 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3844, allocations: 0 / 1.373 GB, free: 14.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/0.3845, allocations: 16 kB / 1.373 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.3845, allocations: 20 kB / 1.373 GB, free: 14.24 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.3852, allocations: 371.7 kB / 1.373 GB, free: 13.87 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.003145/0.3883, allocations: 2.672 MB / 1.376 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005745/0.3889, allocations: 226.6 kB / 1.376 GB, free: 10.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.3891, allocations: 120.5 kB / 1.376 GB, free: 10.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002296/0.3914, allocations: 1.819 MB / 1.378 GB, free: 8.586 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.3914, allocations: 34.56 kB / 1.378 GB, free: 8.543 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.3914, allocations: 0 / 1.378 GB, free: 8.543 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0006503/0.3921, allocations: 318.7 kB / 1.379 GB, free: 8.227 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.3921, allocations: 67.22 kB / 1.379 GB, free: 8.148 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007717/0.3929, allocations: 0.641 MB / 1.379 GB, free: 7.496 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.3929, allocations: 33.7 kB / 1.379 GB, free: 7.457 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.3932, allocations: 352.1 kB / 1.38 GB, free: 7.109 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.14e-05/0.3933, allocations: 83.3 kB / 1.38 GB, free: 7.027 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.3934, allocations: 81.64 kB / 1.38 GB, free: 6.941 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.3936, allocations: 366.8 kB / 1.38 GB, free: 6.574 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.3938, allocations: 83.95 kB / 1.38 GB, free: 6.492 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.3941, allocations: 237.8 kB / 1.38 GB, free: 6.195 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.3945, allocations: 356.1 kB / 1.381 GB, free: 5.785 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3945, allocations: 0 / 1.381 GB, free: 5.785 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006553/0.3952, allocations: 408.8 kB / 1.381 GB, free: 5.379 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3952, allocations: 8 kB / 1.381 GB, free: 5.371 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.3952, allocations: 4 kB / 1.381 GB, free: 5.367 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.3952, allocations: 11.94 kB / 1.381 GB, free: 5.355 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.3955, allocations: 75.83 kB / 1.381 GB, free: 5.281 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.3955, allocations: 8 kB / 1.381 GB, free: 5.273 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.3958, allocations: 55.98 kB / 1.381 GB, free: 5.219 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.3959, allocations: 27.98 kB / 1.381 GB, free: 5.191 MB / 1.076 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.000252/0.3961, allocations: 209.6 kB / 1.381 GB, free: 4.977 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.3962, allocations: 75.52 kB / 1.382 GB, free: 4.902 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005897/0.3968, allocations: 320.2 kB / 1.382 GB, free: 4.582 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3968, allocations: 4.047 kB / 1.382 GB, free: 4.578 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3968, allocations: 3.984 kB / 1.382 GB, free: 4.574 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005183/0.3973, allocations: 494.4 kB / 1.382 GB, free: 4.023 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.3987, allocations: 0.9637 MB / 1.383 GB, free: 2.992 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3987, allocations: 3.938 kB / 1.383 GB, free: 2.988 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.3989, allocations: 43.97 kB / 1.383 GB, free: 2.945 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.279e-06/0.3989, allocations: 4 kB / 1.383 GB, free: 2.941 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.3989, allocations: 7.984 kB / 1.383 GB, free: 2.934 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3989, allocations: 3.938 kB / 1.383 GB, free: 2.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3989, allocations: 4.125 kB / 1.383 GB, free: 2.926 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.3997, allocations: 0.5385 MB / 1.384 GB, free: 2.359 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.3999, allocations: 176.6 kB / 1.384 GB, free: 2.168 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.116e-05/0.4, allocations: 7.984 kB / 1.384 GB, free: 2.16 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.4002, allocations: 12.06 kB / 1.384 GB, free: 2.148 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.4003, allocations: 23.86 kB / 1.384 GB, free: 2.125 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.4003, allocations: 11.98 kB / 1.384 GB, free: 2.113 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005526/0.4009, allocations: 467 kB / 1.385 GB, free: 1.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4009, allocations: 0 / 1.385 GB, free: 1.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006461/0.4015, allocations: 219.5 kB / 1.385 GB, free: 1.445 MB / 1.076 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.0006015/0.4021, allocations: 301.2 kB / 1.385 GB, free: 1.152 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004819/0.4026, allocations: 259.9 kB / 1.385 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4026, allocations: 0 / 1.385 GB, free: 0.9023 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.4028, allocations: 108.2 kB / 1.385 GB, free: 0.7969 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.4046, allocations: 441.4 kB / 1.386 GB, free: 388 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.4063, allocations: 1.099 MB / 1.387 GB, free: 15.23 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.4068, allocations: 0.9057 MB / 1.388 GB, free: 14.3 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003551/0.4072, allocations: 129.6 kB / 1.388 GB, free: 14.17 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.4073, allocations: 55.42 kB / 1.388 GB, free: 14.12 MB / 1.092 GB Notification: Performance of SimCode: time 3.91e-07/0.4073, allocations: 0 / 1.388 GB, free: 14.12 MB / 1.092 GB Notification: Performance of Templates: time 0.02354/0.4308, allocations: 14.27 MB / 1.402 GB, free: 28 kB / 1.092 GB " [Timeout remaining time 300] 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 cvode -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_2/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: 8.520624838303775]