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.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.001409/0.001409, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001458/0.001458, allocations: 190.9 kB / 22.11 MB, free: 4.34 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.543/1.543, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.132/3.132, allocations: 495.8 MB / 0.783 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_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: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 63.91 kB / 1.137 GB, free: 12.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2/1.203, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.03599/1.238, allocations: 41.99 MB / 1.348 GB, free: 4.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01849/1.257, allocations: 11.17 MB / 1.359 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/1.26, allocations: 70.62 kB / 1.359 GB, free: 12.08 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001874/1.262, allocations: 438.9 kB / 1.359 GB, free: 11.82 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005128/1.267, allocations: 1.245 MB / 1.36 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003031/1.27, allocations: 0.7718 MB / 1.361 GB, free: 10.65 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004803/1.275, allocations: 2.117 MB / 1.363 GB, free: 9.629 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/1.276, allocations: 0.5215 MB / 1.364 GB, free: 9.359 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003662/1.28, allocations: 0.9924 MB / 1.365 GB, free: 8.883 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/1.281, allocations: 0.5918 MB / 1.365 GB, free: 8.617 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001361/1.281, allocations: 62.41 kB / 1.365 GB, free: 8.617 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/1.283, allocations: 0.5135 MB / 1.366 GB, free: 8.441 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/1.284, allocations: 190.5 kB / 1.366 GB, free: 8.324 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006414/1.284, allocations: 397.5 kB / 1.366 GB, free: 8.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/1.287, allocations: 1.24 MB / 1.368 GB, free: 7.629 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/1.287, allocations: 0 / 1.368 GB, free: 7.629 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.405e-06/1.287, allocations: 1.125 kB / 1.368 GB, free: 7.629 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.611e-05/1.287, allocations: 0 / 1.368 GB, free: 7.629 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.002203/1.29, allocations: 1.005 MB / 1.369 GB, free: 6.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.29, allocations: 8.969 kB / 1.369 GB, free: 6.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002834/1.29, allocations: 93.69 kB / 1.369 GB, free: 6.883 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/1.291, allocations: 0.641 MB / 1.369 GB, free: 6.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/1.291, allocations: 34.16 kB / 1.369 GB, free: 6.469 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/1.292, allocations: 57.44 kB / 1.369 GB, free: 6.445 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/1.293, allocations: 0.5632 MB / 1.37 GB, free: 6.152 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/1.293, allocations: 1.75 kB / 1.37 GB, free: 6.152 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/1.293, allocations: 17 kB / 1.37 GB, free: 6.141 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/1.293, allocations: 17.89 kB / 1.37 GB, free: 6.137 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/1.294, allocations: 377.2 kB / 1.37 GB, free: 6.008 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.003979/1.298, allocations: 2.599 MB / 1.373 GB, free: 4.012 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/1.298, allocations: 228.7 kB / 1.373 GB, free: 3.914 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/1.299, allocations: 120.4 kB / 1.373 GB, free: 3.863 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002146/1.301, allocations: 0.8167 MB / 1.374 GB, free: 3.398 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/1.301, allocations: 38.08 kB / 1.374 GB, free: 3.355 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 2.354e-06/1.301, allocations: 3.938 kB / 1.374 GB, free: 3.352 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0008092/1.302, allocations: 319.1 kB / 1.374 GB, free: 3.215 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/1.302, allocations: 56.75 kB / 1.374 GB, free: 3.148 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/1.303, allocations: 0.6428 MB / 1.375 GB, free: 2.863 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/1.303, allocations: 35.7 kB / 1.375 GB, free: 2.824 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/1.303, allocations: 351.1 kB / 1.375 GB, free: 2.543 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.866e-05/1.303, allocations: 83.81 kB / 1.375 GB, free: 2.477 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/1.303, allocations: 76.69 kB / 1.375 GB, free: 2.434 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002375/1.304, allocations: 373 kB / 1.376 GB, free: 2.094 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/1.304, allocations: 91 kB / 1.376 GB, free: 2.062 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/1.304, allocations: 237.6 kB / 1.376 GB, free: 1.852 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/1.305, allocations: 344.5 kB / 1.376 GB, free: 1.578 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.305, allocations: 1.281 kB / 1.376 GB, free: 1.578 MB / 1.076 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007503/1.306, allocations: 408.6 kB / 1.377 GB, free: 1.395 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/1.306, allocations: 9.625 kB / 1.377 GB, free: 1.395 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.306, allocations: 7.688 kB / 1.377 GB, free: 1.391 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/1.306, allocations: 7.281 kB / 1.377 GB, free: 1.391 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/1.306, allocations: 75.53 kB / 1.377 GB, free: 1.383 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/1.306, allocations: 12.2 kB / 1.377 GB, free: 1.379 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/1.306, allocations: 56.31 kB / 1.377 GB, free: 1.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/1.306, allocations: 21.34 kB / 1.377 GB, free: 1.336 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.0003289/1.307, allocations: 213.6 kB / 1.377 GB, free: 1.164 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/1.307, allocations: 79.17 kB / 1.377 GB, free: 1.117 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007111/1.308, allocations: 328.7 kB / 1.378 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/1.308, allocations: 3.453 kB / 1.378 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.308, allocations: 1.688 kB / 1.378 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006759/1.308, allocations: 498.1 kB / 1.378 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/1.31, allocations: 0.9343 MB / 1.379 GB, free: 12 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/1.31, allocations: 5.219 kB / 1.379 GB, free: 8 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/1.31, allocations: 42.83 kB / 1.379 GB, free: 4 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.31, allocations: 2.562 kB / 1.379 GB, free: 4 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/1.31, allocations: 8.766 kB / 1.379 GB, free: 0 / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.784e-05/1.31, allocations: 6.516 kB / 1.379 GB, free: 15.99 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.31, allocations: 5.219 kB / 1.379 GB, free: 15.99 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008894/1.311, allocations: 0.5528 MB / 1.38 GB, free: 15.66 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/1.311, allocations: 103.7 kB / 1.38 GB, free: 15.6 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.311, allocations: 11.78 kB / 1.38 GB, free: 15.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/1.312, allocations: 10.31 kB / 1.38 GB, free: 15.59 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/1.312, allocations: 17.31 kB / 1.38 GB, free: 15.58 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/1.312, allocations: 16.25 kB / 1.38 GB, free: 15.58 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007696/1.313, allocations: 465.5 kB / 1.38 GB, free: 15.38 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/1.313, allocations: 0 / 1.38 GB, free: 15.38 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001023/1.314, allocations: 215.8 kB / 1.38 GB, free: 15.33 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.0009154/1.315, allocations: 301.2 kB / 1.381 GB, free: 15.16 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006294/1.315, allocations: 254.4 kB / 1.381 GB, free: 15.08 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.315, allocations: 0 / 1.381 GB, free: 15.08 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002393/1.315, allocations: 120.8 kB / 1.381 GB, free: 15.04 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/1.318, allocations: 445.6 kB / 1.382 GB, free: 14.91 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/1.32, allocations: 1.096 MB / 1.383 GB, free: 14.26 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007512/1.321, allocations: 0.9018 MB / 1.383 GB, free: 13.54 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0006777/1.321, allocations: 131.3 kB / 1.384 GB, free: 13.51 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/1.321, allocations: 62.19 kB / 1.384 GB, free: 13.49 MB / 1.092 GB Notification: Performance of SimCode: time 1.663e-06/1.321, allocations: 4 kB / 1.384 GB, free: 13.49 MB / 1.092 GB Notification: Performance of Templates: time 0.03553/1.357, allocations: 14.37 MB / 1.398 GB, free: 12.21 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 -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/jenkins/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.821966969408095]