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.002373/0.002373, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.002305/0.002305, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.673/1.673, allocations: 177.1 MB / 203.9 MB, free: 5.625 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 3.129/3.129, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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.623e-06/1.623e-06, allocations: 0 / 0.8108 GB, free: 2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.457e-05, allocations: 2.312 kB / 0.8108 GB, free: 1.996 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.05902/0.05906, allocations: 43.11 MB / 0.8529 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0219/0.08096, allocations: 11.47 MB / 0.8641 GB, free: 11.31 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/0.08353, allocations: 67.44 kB / 0.8641 GB, free: 11.24 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001781/0.08531, allocations: 436.9 kB / 0.8646 GB, free: 10.81 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004415/0.08973, allocations: 1.259 MB / 0.8658 GB, free: 9.547 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.09222, allocations: 0.7793 MB / 0.8666 GB, free: 8.766 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003709/0.09593, allocations: 2.119 MB / 0.8686 GB, free: 6.641 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.09736, allocations: 0.5366 MB / 0.8691 GB, free: 6.086 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004046/0.1014, allocations: 1.278 MB / 0.8704 GB, free: 4.809 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.1026, allocations: 0.5062 MB / 0.8709 GB, free: 4.301 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.1028, allocations: 60 kB / 0.8709 GB, free: 4.242 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/0.1043, allocations: 0.5182 MB / 0.8715 GB, free: 3.723 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.1045, allocations: 199.2 kB / 0.8716 GB, free: 3.527 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004759/0.105, allocations: 275.4 kB / 0.8719 GB, free: 3.258 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002317/0.1073, allocations: 1.281 MB / 0.8732 GB, free: 1.973 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1073, allocations: 3.938 kB / 0.8732 GB, free: 1.969 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1073, allocations: 0 / 0.8732 GB, free: 1.969 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.1074, allocations: 0 / 0.8732 GB, free: 1.969 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.002058/0.1094, allocations: 1.153 MB / 0.8743 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1095, allocations: 8.031 kB / 0.8743 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.1098, allocations: 136.4 kB / 0.8744 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.1111, allocations: 0.6579 MB / 0.8751 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.1111, allocations: 41.38 kB / 0.8751 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.1112, allocations: 56.36 kB / 0.8752 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.1123, allocations: 0.6669 MB / 0.8758 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.1124, allocations: 4 kB / 0.8758 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.42e-05/0.1124, allocations: 24 kB / 0.8758 GB, free: 15.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.541e-05/0.1124, allocations: 12 kB / 0.8758 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007016/0.1131, allocations: 339.7 kB / 0.8762 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003511/0.1167, allocations: 2.62 MB / 0.8787 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/0.1172, allocations: 215.1 kB / 0.8789 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.1174, allocations: 96.08 kB / 0.879 GB, free: 11.74 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/0.1192, allocations: 0.7962 MB / 0.8798 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.1192, allocations: 41.34 kB / 0.8798 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.1192, allocations: 0 / 0.8798 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.0006341/0.1199, allocations: 263.1 kB / 0.8801 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1199, allocations: 55.41 kB / 0.8801 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008205/0.1207, allocations: 0.6431 MB / 0.8808 GB, free: 9.887 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.1208, allocations: 37.7 kB / 0.8808 GB, free: 9.844 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/0.1212, allocations: 438.6 kB / 0.8812 GB, free: 9.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/0.1213, allocations: 79.33 kB / 0.8813 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.1214, allocations: 103.1 kB / 0.8814 GB, free: 9.223 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003547/0.1218, allocations: 0.5703 MB / 0.882 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.122, allocations: 67.95 kB / 0.882 GB, free: 8.574 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004227/0.1224, allocations: 387.9 kB / 0.8824 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.1229, allocations: 379.7 kB / 0.8828 GB, free: 7.625 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.1229, allocations: 4 kB / 0.8828 GB, free: 7.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006927/0.1236, allocations: 369 kB / 0.8831 GB, free: 7.254 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.1236, allocations: 9.562 kB / 0.8831 GB, free: 7.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1237, allocations: 4 kB / 0.8831 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1237, allocations: 4 kB / 0.8831 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.124, allocations: 87.77 kB / 0.8832 GB, free: 7.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.124, allocations: 4 kB / 0.8832 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.1243, allocations: 35.73 kB / 0.8833 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.1243, allocations: 28.27 kB / 0.8833 GB, free: 7.086 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.0003197/0.1246, allocations: 252.4 kB / 0.8835 GB, free: 6.828 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.1247, allocations: 59.67 kB / 0.8836 GB, free: 6.77 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005775/0.1253, allocations: 260.6 kB / 0.8838 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.1253, allocations: 3.984 kB / 0.8838 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.1253, allocations: 7.922 kB / 0.8838 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005985/0.1259, allocations: 434.8 kB / 0.8843 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.1275, allocations: 0.9331 MB / 0.8852 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1275, allocations: 4.125 kB / 0.8852 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.1277, allocations: 47.91 kB / 0.8852 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.1277, allocations: 4 kB / 0.8852 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.1277, allocations: 11.98 kB / 0.8852 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1277, allocations: 0 / 0.8852 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.1277, allocations: 3.938 kB / 0.8852 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007772/0.1285, allocations: 0.5058 MB / 0.8857 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.1287, allocations: 79.56 kB / 0.8858 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.982e-05/0.1288, allocations: 8 kB / 0.8858 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.129, allocations: 23.95 kB / 0.8858 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.1291, allocations: 19.92 kB / 0.8859 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.1291, allocations: 15.98 kB / 0.8859 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005368/0.1296, allocations: 406.8 kB / 0.8863 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1296, allocations: 0 / 0.8863 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007783/0.1304, allocations: 227.3 kB / 0.8865 GB, free: 3.645 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.0005456/0.131, allocations: 294.6 kB / 0.8868 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005377/0.1315, allocations: 241.1 kB / 0.887 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1315, allocations: 0 / 0.887 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.1317, allocations: 104.2 kB / 0.8871 GB, free: 3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.1331, allocations: 303.7 kB / 0.8874 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.135, allocations: 1.013 MB / 0.8884 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1354, allocations: 303.7 kB / 0.8887 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003623/0.1357, allocations: 100.5 kB / 0.8887 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.1358, allocations: 52.48 kB / 0.8888 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of SimCode: time 1.313e-06/0.1358, allocations: 0 / 0.8888 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of Templates: time 0.02243/0.1583, allocations: 11.01 MB / 0.8995 GB, free: 6.426 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Components.Validation.Tanks.pipe 2>&1) [Timeout 240] 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.93071451690048]