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.001817/0.001817, allocations: 80.67 kB / 19.18 MB, free: 2.527 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.002112/0.002112, allocations: 166.2 kB / 22.46 MB, free: 5.355 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.58/1.58, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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 2.93/2.93, allocations: 389 MB / 0.633 GB, free: 0.9727 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 3.938 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.825e-05, allocations: 2.281 kB / 1 GB, free: 7.312 MB / 0.9512 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.04784/0.04786, allocations: 38.25 MB / 1.037 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.06452, allocations: 10.36 MB / 1.048 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.0663, allocations: 71.38 kB / 1.048 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.06782, allocations: 433 kB / 1.048 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00356/0.07138, allocations: 1.243 MB / 1.049 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.07339, allocations: 0.779 MB / 1.05 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002907/0.0763, allocations: 2.079 MB / 1.052 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008866/0.07719, allocations: 0.5003 MB / 1.053 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.07996, allocations: 1.254 MB / 1.054 GB, free: 164 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008343/0.08079, allocations: 0.4906 MB / 1.054 GB, free: 15.67 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.0809, allocations: 64 kB / 1.054 GB, free: 15.61 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.08218, allocations: 0.522 MB / 1.055 GB, free: 15.08 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.08241, allocations: 191.2 kB / 1.055 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003679/0.08278, allocations: 271.4 kB / 1.055 GB, free: 14.63 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00189/0.08467, allocations: 1.27 MB / 1.057 GB, free: 13.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.08467, allocations: 4 kB / 1.057 GB, free: 13.35 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.112e-06/0.08467, allocations: 0 / 1.057 GB, free: 13.35 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.08469, allocations: 4 kB / 1.057 GB, free: 13.35 MB / 1.014 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.001818/0.08651, allocations: 0.9906 MB / 1.057 GB, free: 12.32 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.08655, allocations: 8.031 kB / 1.057 GB, free: 12.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.0868, allocations: 92.41 kB / 1.058 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.08801, allocations: 0.6239 MB / 1.058 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.08805, allocations: 41.38 kB / 1.058 GB, free: 11.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/0.08814, allocations: 48.38 kB / 1.058 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.08918, allocations: 0.642 MB / 1.059 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.08921, allocations: 3.984 kB / 1.059 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.08926, allocations: 23.98 kB / 1.059 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.08929, allocations: 20 kB / 1.059 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000704/0.09, allocations: 371.7 kB / 1.059 GB, free: 10.38 MB / 1.014 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.002946/0.09294, allocations: 1.966 MB / 1.061 GB, free: 8.359 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.09354, allocations: 226.6 kB / 1.061 GB, free: 8.129 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.09375, allocations: 116.8 kB / 1.062 GB, free: 8.012 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/0.09549, allocations: 0.7301 MB / 1.062 GB, free: 7.262 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.09553, allocations: 38.5 kB / 1.062 GB, free: 7.215 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 3.757e-06/0.09553, allocations: 3.984 kB / 1.062 GB, free: 7.211 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.0007029/0.09623, allocations: 307.3 kB / 1.063 GB, free: 6.906 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.09628, allocations: 55.41 kB / 1.063 GB, free: 6.84 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006275/0.09691, allocations: 498.8 kB / 1.063 GB, free: 6.34 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.09694, allocations: 29.7 kB / 1.063 GB, free: 6.305 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.09724, allocations: 355.8 kB / 1.063 GB, free: 5.949 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.929e-05/0.09732, allocations: 83.36 kB / 1.064 GB, free: 5.867 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.09745, allocations: 85.58 kB / 1.064 GB, free: 5.777 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002253/0.09767, allocations: 362.7 kB / 1.064 GB, free: 5.414 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.09785, allocations: 83.95 kB / 1.064 GB, free: 5.332 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.09823, allocations: 344.4 kB / 1.064 GB, free: 4.906 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.09877, allocations: 344.2 kB / 1.065 GB, free: 4.508 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.09877, allocations: 7.938 kB / 1.065 GB, free: 4.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006961/0.09947, allocations: 381.3 kB / 1.065 GB, free: 4.121 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.09949, allocations: 16.08 kB / 1.065 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.0995, allocations: 4 kB / 1.065 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/0.09953, allocations: 8 kB / 1.065 GB, free: 4.094 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.0998, allocations: 75.84 kB / 1.065 GB, free: 4.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.09981, allocations: 11.94 kB / 1.065 GB, free: 4.008 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.1001, allocations: 39.72 kB / 1.065 GB, free: 3.969 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.1001, allocations: 20 kB / 1.065 GB, free: 3.949 MB / 1.014 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.0002963/0.1004, allocations: 210.2 kB / 1.065 GB, free: 3.734 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1005, allocations: 51.67 kB / 1.066 GB, free: 3.684 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006916/0.1012, allocations: 330.5 kB / 1.066 GB, free: 3.355 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.1012, allocations: 0 / 1.066 GB, free: 3.355 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.1012, allocations: 3.938 kB / 1.066 GB, free: 3.352 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000599/0.1018, allocations: 494.6 kB / 1.066 GB, free: 2.801 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.1032, allocations: 0.8188 MB / 1.067 GB, free: 1.934 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1033, allocations: 0 / 1.067 GB, free: 1.934 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/0.1035, allocations: 47.91 kB / 1.067 GB, free: 1.887 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1035, allocations: 4 kB / 1.067 GB, free: 1.883 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.1035, allocations: 12.11 kB / 1.067 GB, free: 1.871 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1035, allocations: 0 / 1.067 GB, free: 1.871 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.1035, allocations: 7.938 kB / 1.067 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/0.1043, allocations: 0.5301 MB / 1.068 GB, free: 1.305 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001657/0.1045, allocations: 83.59 kB / 1.068 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.168e-05/0.1046, allocations: 8 kB / 1.068 GB, free: 1.215 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.1048, allocations: 11.94 kB / 1.068 GB, free: 1.203 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.1049, allocations: 19.91 kB / 1.068 GB, free: 1.184 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.1049, allocations: 15.98 kB / 1.068 GB, free: 1.168 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004148/0.1053, allocations: 334.9 kB / 1.068 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1053, allocations: 4.062 kB / 1.068 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007427/0.1061, allocations: 239.3 kB / 1.068 GB, free: 0.6055 MB / 1.014 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.0005297/0.1066, allocations: 294.7 kB / 1.069 GB, free: 316 kB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.1071, allocations: 244.8 kB / 1.069 GB, free: 72 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1071, allocations: 0 / 1.069 GB, free: 72 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.1073, allocations: 116 kB / 1.069 GB, free: 15.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.1087, allocations: 288.4 kB / 1.069 GB, free: 15.69 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.1105, allocations: 0.9987 MB / 1.07 GB, free: 14.65 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1108, allocations: 311.5 kB / 1.071 GB, free: 14.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003356/0.1111, allocations: 108.4 kB / 1.071 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1112, allocations: 48.48 kB / 1.071 GB, free: 14.16 MB / 1.029 GB Notification: Performance of SimCode: time 5.61e-07/0.1112, allocations: 0 / 1.071 GB, free: 14.16 MB / 1.029 GB Notification: Performance of Templates: time 0.02734/0.1386, allocations: 10.67 MB / 1.081 GB, free: 3.719 MB / 1.029 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 -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: 8.84900862723589]