Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.00095/0.00095, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001024/0.001024, allocations: 181 kB / 23.35 MB, free: 1.137 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.05/1.05, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.515/2.515, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/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.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y|tan.vol.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|tanEnh.vol.[0-9,]+..T|dHTan.y|dHTanEnh.y|tan.vol.[0-9,]+..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.521e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01437/0.0144, allocations: 16.45 MB / 0.8547 GB, free: 13.68 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01084/0.02524, allocations: 6.198 MB / 0.8607 GB, free: 7.461 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.02755, allocations: 103.2 kB / 0.8608 GB, free: 7.359 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.02917, allocations: 0.531 MB / 0.8614 GB, free: 6.824 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.03375, allocations: 1.813 MB / 0.8631 GB, free: 5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003255/0.03701, allocations: 1.462 MB / 0.8646 GB, free: 3.535 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.02006/0.05707, allocations: 21.86 MB / 0.8859 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0126/0.06967, allocations: 7.325 MB / 0.8931 GB, free: 6.293 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02006/0.08973, allocations: 10.08 MB / 0.9029 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0101/0.09983, allocations: 6.25 MB / 0.909 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.002723/0.1025, allocations: 0.9219 MB / 0.9099 GB, free: 5.105 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00446/0.107, allocations: 1.21 MB / 0.9111 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.00364/0.1106, allocations: 2.488 MB / 0.9135 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.007871/0.1185, allocations: 3.349 MB / 0.9168 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.1309, allocations: 7.993 MB / 0.9246 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1309, allocations: 0 / 0.9246 GB, free: 6.027 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1309, allocations: 4 kB / 0.9246 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003568/0.1312, allocations: 0 / 0.9246 GB, free: 6.023 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01131/0.1425, allocations: 7.729 MB / 0.9321 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1426, allocations: 12.62 kB / 0.9322 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/0.1453, allocations: 1.264 MB / 0.9334 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006954/0.1522, allocations: 3.791 MB / 0.9371 GB, free: 9.047 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002715/0.1525, allocations: 460.6 kB / 0.9375 GB, free: 8.594 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001129/0.1536, allocations: 0.6174 MB / 0.9381 GB, free: 7.977 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007552/0.1612, allocations: 6.024 MB / 0.944 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001202/0.1613, allocations: 19.86 kB / 0.944 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004881/0.1618, allocations: 267.9 kB / 0.9443 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001395/0.1619, allocations: 179.9 kB / 0.9445 GB, free: 0.9102 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004776/0.1667, allocations: 2.099 MB / 0.9465 GB, free: 14.8 MB / 0.9167 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.02818/0.1949, allocations: 19.04 MB / 0.9651 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002145/0.197, allocations: 1.592 MB / 0.9667 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.1984, allocations: 1.215 MB / 0.9678 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004305/0.1989, allocations: 178.3 kB / 0.968 GB, free: 8.293 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.2007, allocations: 2.087 MB / 0.97 GB, free: 5.91 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001784/0.2025, allocations: 329.6 kB / 0.9704 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=317): time 1.073e-05/0.2025, allocations: 0 / 0.9704 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of matching and sorting (n=317): time 0.004173/0.2066, allocations: 2.195 MB / 0.9725 GB, free: 3.355 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.2067, allocations: 85.91 kB / 0.9726 GB, free: 3.258 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/0.2111, allocations: 3.666 MB / 0.9762 GB, free: 15.57 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006753/0.2118, allocations: 85.7 kB / 0.9763 GB, free: 15.48 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002075/0.2139, allocations: 2.539 MB / 0.9787 GB, free: 12.92 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/0.2154, allocations: 1.154 MB / 0.9799 GB, free: 11.76 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009885/0.2164, allocations: 0.7918 MB / 0.9806 GB, free: 10.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.2165, allocations: 301.1 kB / 0.9809 GB, free: 10.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009562/0.2174, allocations: 0.5865 MB / 0.9815 GB, free: 10.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001845/0.2193, allocations: 2.089 MB / 0.9835 GB, free: 7.238 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003041/0.2223, allocations: 3.037 MB / 0.9865 GB, free: 3.484 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.539e-05/0.2223, allocations: 16 kB / 0.9865 GB, free: 3.469 MB / 0.948 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.004827/0.2272, allocations: 2.819 MB / 0.9893 GB, free: 0.6055 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.2272, allocations: 56.2 kB / 0.9893 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.67e-05/0.2273, allocations: 48 kB / 0.9894 GB, free: 0.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.2284, allocations: 384.4 kB / 0.9897 GB, free: 124 kB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.2307, allocations: 1.01 MB / 0.9907 GB, free: 15.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.2336, allocations: 3.683 MB / 0.9943 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.2367, allocations: 179.8 kB / 0.9945 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004834/0.2372, allocations: 180 kB / 0.9947 GB, free: 10.91 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001867/0.239, allocations: 411 kB / 0.995 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009769/0.24, allocations: 391.6 kB / 0.9954 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/0.2429, allocations: 1.951 MB / 0.9973 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.243, allocations: 32 kB / 0.9974 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.243, allocations: 7.938 kB / 0.9974 GB, free: 8.074 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001576/0.2446, allocations: 1.358 MB / 0.9987 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.2547, allocations: 5.263 MB / 1.004 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.2547, allocations: 0 / 1.004 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.2563, allocations: 0.636 MB / 1.004 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009429/0.2573, allocations: 320.1 kB / 1.005 GB, free: 320 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/0.2575, allocations: 75.95 kB / 1.005 GB, free: 244 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002588/0.2601, allocations: 3.597 MB / 1.008 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2601, allocations: 3.984 kB / 1.008 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/0.264, allocations: 2.478 MB / 1.011 GB, free: 9.898 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/0.2659, allocations: 0.6127 MB / 1.011 GB, free: 9.285 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007728/0.2667, allocations: 63.98 kB / 1.011 GB, free: 9.223 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/0.2683, allocations: 107.9 kB / 1.012 GB, free: 9.117 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/0.2686, allocations: 198.1 kB / 1.012 GB, free: 8.922 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/0.2688, allocations: 99.89 kB / 1.012 GB, free: 8.824 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002041/0.2709, allocations: 1.858 MB / 1.014 GB, free: 6.965 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2709, allocations: 8 kB / 1.014 GB, free: 6.957 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004944/0.2758, allocations: 2.039 MB / 1.016 GB, free: 4.914 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008701/0.2767, allocations: 259.7 kB / 1.016 GB, free: 4.652 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003921/0.2806, allocations: 2.378 MB / 1.018 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 0.0001275/0.2807, allocations: 59.84 kB / 1.018 GB, free: 2.145 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.2823, allocations: 1.163 MB / 1.019 GB, free: 0.9492 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008637/0.2909, allocations: 3.092 MB / 1.022 GB, free: 13.94 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.3058, allocations: 10.02 MB / 1.032 GB, free: 3.809 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.3071, allocations: 1.407 MB / 1.034 GB, free: 2.379 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003222/0.3103, allocations: 0.8857 MB / 1.034 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004874/0.3152, allocations: 1.722 MB / 1.036 GB, free: 15.73 MB / 1.01 GB Notification: Performance of SimCode: time 3.907e-06/0.3152, allocations: 0 / 1.036 GB, free: 15.73 MB / 1.01 GB Notification: Performance of Templates: time 0.5008/0.8159, allocations: 109.3 MB / 1.143 GB, free: 131.1 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","",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.34928459720686]