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.001764/0.001764, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002811/0.002811, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.528/1.528, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.951/2.951, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.224e-05, allocations: 3.031 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.05449/0.05452, allocations: 38.27 MB / 0.8481 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.07412, allocations: 10.39 MB / 0.8583 GB, free: 1.371 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.07618, allocations: 71.38 kB / 0.8584 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.07782, allocations: 433 kB / 0.8588 GB, free: 0.875 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.004144/0.08196, allocations: 1.259 MB / 0.86 GB, free: 15.61 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.08431, allocations: 0.7792 MB / 0.8608 GB, free: 14.83 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003613/0.08792, allocations: 2.119 MB / 0.8628 GB, free: 12.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.08926, allocations: 0.5404 MB / 0.8634 GB, free: 12.14 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.09304, allocations: 1.267 MB / 0.8646 GB, free: 10.88 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001181/0.09422, allocations: 0.4984 MB / 0.8651 GB, free: 10.38 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.09442, allocations: 68 kB / 0.8652 GB, free: 10.31 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.09599, allocations: 0.5182 MB / 0.8657 GB, free: 9.793 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.09631, allocations: 191.2 kB / 0.8658 GB, free: 9.605 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006148/0.09692, allocations: 279.4 kB / 0.8661 GB, free: 9.332 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.09959, allocations: 1.273 MB / 0.8673 GB, free: 8.055 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.0996, allocations: 0 / 0.8673 GB, free: 8.055 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.352e-06/0.0996, allocations: 0 / 0.8673 GB, free: 8.055 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.365e-05/0.09963, allocations: 0 / 0.8673 GB, free: 8.055 MB / 0.823 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.002331/0.102, allocations: 0.9984 MB / 0.8683 GB, free: 7.023 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.102, allocations: 12.03 kB / 0.8683 GB, free: 7.012 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004287/0.1024, allocations: 136.3 kB / 0.8685 GB, free: 6.879 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.1039, allocations: 0.6747 MB / 0.8691 GB, free: 6.18 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.1039, allocations: 37.38 kB / 0.8692 GB, free: 6.145 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.104, allocations: 52.38 kB / 0.8692 GB, free: 6.094 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.1052, allocations: 0.642 MB / 0.8698 GB, free: 5.402 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.1052, allocations: 0 / 0.8698 GB, free: 5.402 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-05/0.1053, allocations: 20 kB / 0.8699 GB, free: 5.383 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.1053, allocations: 16 kB / 0.8699 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007953/0.1061, allocations: 379.7 kB / 0.8702 GB, free: 4.992 MB / 0.823 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.003311/0.1095, allocations: 1.997 MB / 0.8722 GB, free: 2.934 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.1101, allocations: 228.5 kB / 0.8724 GB, free: 2.703 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.1103, allocations: 116.7 kB / 0.8725 GB, free: 2.586 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001885/0.1122, allocations: 0.7301 MB / 0.8732 GB, free: 1.836 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.3e-05/0.1123, allocations: 42.56 kB / 0.8733 GB, free: 1.785 MB / 0.823 GB Notification: Performance of pre-optimization done (n=20): time 1.442e-06/0.1123, allocations: 0 / 0.8733 GB, free: 1.785 MB / 0.823 GB Notification: Performance of matching and sorting (n=20): time 0.0007719/0.1131, allocations: 314.2 kB / 0.8736 GB, free: 1.473 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.1131, allocations: 59.41 kB / 0.8736 GB, free: 1.402 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007013/0.1138, allocations: 0.4988 MB / 0.8741 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.1138, allocations: 25.7 kB / 0.8741 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.1142, allocations: 359.9 kB / 0.8745 GB, free: 0.5078 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.657e-05/0.1143, allocations: 87.3 kB / 0.8746 GB, free: 432 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.1144, allocations: 77.64 kB / 0.8746 GB, free: 348 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002294/0.1146, allocations: 362.7 kB / 0.875 GB, free: 15.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.1148, allocations: 87.95 kB / 0.8751 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004261/0.1152, allocations: 340.3 kB / 0.8754 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006189/0.1159, allocations: 348.2 kB / 0.8757 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1159, allocations: 0 / 0.8757 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007921/0.1167, allocations: 412.7 kB / 0.8761 GB, free: 14.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.1167, allocations: 8 kB / 0.8761 GB, free: 14.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1167, allocations: 7.984 kB / 0.8761 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.1167, allocations: 8 kB / 0.8761 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.117, allocations: 71.84 kB / 0.8762 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.117, allocations: 12.53 kB / 0.8762 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.1173, allocations: 43.77 kB / 0.8763 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.1174, allocations: 16 kB / 0.8763 GB, free: 14.49 MB / 0.8386 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.0002977/0.1177, allocations: 209.7 kB / 0.8765 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.1178, allocations: 59.67 kB / 0.8765 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006801/0.1185, allocations: 325.8 kB / 0.8768 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.1185, allocations: 8 kB / 0.8769 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.1185, allocations: 3.938 kB / 0.8769 GB, free: 13.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006162/0.1191, allocations: 494.4 kB / 0.8773 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.1206, allocations: 0.8212 MB / 0.8781 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.1206, allocations: 4 kB / 0.8781 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.1208, allocations: 43.84 kB / 0.8782 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1208, allocations: 4 kB / 0.8782 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.919e-05/0.1209, allocations: 11.98 kB / 0.8782 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1209, allocations: 0 / 0.8782 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.1209, allocations: 7.938 kB / 0.8782 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009234/0.1218, allocations: 0.5424 MB / 0.8787 GB, free: 11.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.122, allocations: 83.78 kB / 0.8788 GB, free: 11.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7e-05/0.1221, allocations: 12 kB / 0.8788 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.1223, allocations: 11.94 kB / 0.8788 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.1224, allocations: 11.97 kB / 0.8788 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.1224, allocations: 19.98 kB / 0.8789 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004536/0.1229, allocations: 334.9 kB / 0.8792 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.1229, allocations: 0 / 0.8792 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0008056/0.1237, allocations: 235.4 kB / 0.8794 GB, free: 11.14 MB / 0.8386 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.0006086/0.1243, allocations: 290.7 kB / 0.8797 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005691/0.1249, allocations: 254.5 kB / 0.8799 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1249, allocations: 0 / 0.8799 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.1251, allocations: 109.9 kB / 0.88 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.1265, allocations: 301.6 kB / 0.8803 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.1286, allocations: 1.046 MB / 0.8813 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.129, allocations: 311.7 kB / 0.8816 GB, free: 8.773 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004264/0.1294, allocations: 112.5 kB / 0.8817 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.1296, allocations: 52.48 kB / 0.8818 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of SimCode: time 7.51e-07/0.1296, allocations: 0 / 0.8818 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of Templates: time 0.02398/0.1536, allocations: 11.02 MB / 0.8925 GB, free: 13.87 MB / 0.8542 GB " [Timeout remaining time 300] 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: 8.585376916918904]