Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009418/0.0009418, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001003/0.001003, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.041/1.041, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.821/1.821, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.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_12_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_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.795e-05, allocations: 2.312 kB / 0.76 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.01371/0.01374, allocations: 16.43 MB / 0.776 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01095/0.02469, allocations: 6.21 MB / 0.7821 GB, free: 32 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002607/0.02729, allocations: 103.2 kB / 0.7822 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001383/0.02868, allocations: 0.5282 MB / 0.7827 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.004169/0.03284, allocations: 1.82 MB / 0.7845 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.03588, allocations: 1.477 MB / 0.7859 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01755/0.05343, allocations: 21.83 MB / 0.8073 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009937/0.06337, allocations: 7.474 MB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02043/0.0838, allocations: 10.14 MB / 0.8245 GB, free: 4.602 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01239/0.09619, allocations: 6.21 MB / 0.8305 GB, free: 14.38 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.003298/0.09949, allocations: 0.9219 MB / 0.8314 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006937/0.1064, allocations: 1.199 MB / 0.8326 GB, free: 12.26 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.006172/0.1126, allocations: 2.473 MB / 0.835 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.008842/0.1214, allocations: 3.348 MB / 0.8383 GB, free: 6.426 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.1341, allocations: 7.965 MB / 0.8461 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.1341, allocations: 0 / 0.8461 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1341, allocations: 0 / 0.8461 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0005329/0.1346, allocations: 0 / 0.8461 GB, free: 14.43 MB / 0.8073 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.01408/0.1487, allocations: 7.739 MB / 0.8536 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1488, allocations: 12.03 kB / 0.8536 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/0.1516, allocations: 1.257 MB / 0.8549 GB, free: 5.367 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007306/0.1589, allocations: 3.814 MB / 0.8586 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/0.1592, allocations: 460.6 kB / 0.859 GB, free: 1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009807/0.1602, allocations: 0.6136 MB / 0.8596 GB, free: 396 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007009/0.1672, allocations: 6.039 MB / 0.8655 GB, free: 9.762 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001062/0.1673, allocations: 19.83 kB / 0.8655 GB, free: 9.742 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004341/0.1677, allocations: 260 kB / 0.8658 GB, free: 9.488 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001426/0.1679, allocations: 183.9 kB / 0.866 GB, free: 9.309 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/0.1712, allocations: 2.095 MB / 0.868 GB, free: 7.203 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.02593/0.1971, allocations: 18.99 MB / 0.8866 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.1995, allocations: 1.592 MB / 0.8881 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.201, allocations: 1.226 MB / 0.8893 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/0.2015, allocations: 162.3 kB / 0.8895 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.2033, allocations: 2.079 MB / 0.8915 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002069/0.2053, allocations: 329.6 kB / 0.8918 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=317): time 1.188e-05/0.2053, allocations: 0 / 0.8918 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of matching and sorting (n=317): time 0.004474/0.2098, allocations: 2.195 MB / 0.894 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.2099, allocations: 85.91 kB / 0.894 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003946/0.2138, allocations: 3.678 MB / 0.8976 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003705/0.2142, allocations: 93.64 kB / 0.8977 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002311/0.2165, allocations: 2.547 MB / 0.9002 GB, free: 5.371 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001298/0.2178, allocations: 1.142 MB / 0.9013 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009036/0.2187, allocations: 0.7995 MB / 0.9021 GB, free: 3.406 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.906e-05/0.2188, allocations: 301.1 kB / 0.9024 GB, free: 3.109 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007953/0.2196, allocations: 0.5865 MB / 0.903 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.221, allocations: 2.085 MB / 0.905 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/0.2237, allocations: 3.042 MB / 0.908 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-05/0.2237, allocations: 16 kB / 0.908 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.003873/0.2276, allocations: 2.808 MB / 0.9107 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.491e-05/0.2276, allocations: 65.72 kB / 0.9108 GB, free: 8.996 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.902e-05/0.2277, allocations: 48 kB / 0.9108 GB, free: 8.949 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.2287, allocations: 379.5 kB / 0.9112 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.2305, allocations: 0.9477 MB / 0.9121 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.2335, allocations: 3.664 MB / 0.9157 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/0.2367, allocations: 179.8 kB / 0.9159 GB, free: 3.621 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003876/0.2371, allocations: 176 kB / 0.916 GB, free: 3.449 MB / 0.8698 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.001896/0.239, allocations: 411 kB / 0.9164 GB, free: 3.035 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00103/0.24, allocations: 399.5 kB / 0.9168 GB, free: 2.645 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.2427, allocations: 1.951 MB / 0.9187 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.2427, allocations: 32 kB / 0.9187 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.2427, allocations: 7.984 kB / 0.9188 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001449/0.2442, allocations: 1.366 MB / 0.9201 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009124/0.2533, allocations: 5.232 MB / 0.9252 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.2533, allocations: 0 / 0.9252 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.2546, allocations: 0.5697 MB / 0.9258 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009476/0.2556, allocations: 319.5 kB / 0.9261 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.2558, allocations: 75.95 kB / 0.9261 GB, free: 8.859 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.2588, allocations: 3.589 MB / 0.9296 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2588, allocations: 4 kB / 0.9296 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003916/0.2627, allocations: 2.466 MB / 0.9321 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/0.2644, allocations: 0.6009 MB / 0.9326 GB, free: 1.934 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005415/0.2649, allocations: 63.98 kB / 0.9327 GB, free: 1.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.2662, allocations: 115.8 kB / 0.9328 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.2665, allocations: 206 kB / 0.933 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.2666, allocations: 103.8 kB / 0.9331 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00212/0.2688, allocations: 1.866 MB / 0.9349 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.2688, allocations: 3.938 kB / 0.9349 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00486/0.2736, allocations: 2.007 MB / 0.9369 GB, free: 13.57 MB / 0.9011 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.0007534/0.2744, allocations: 267.8 kB / 0.9371 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003436/0.2778, allocations: 2.37 MB / 0.9395 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 0.0001037/0.2779, allocations: 59.84 kB / 0.9395 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/0.2792, allocations: 1.163 MB / 0.9407 GB, free: 9.605 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008293/0.2875, allocations: 2.798 MB / 0.9434 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.303, allocations: 10.33 MB / 0.9535 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.3045, allocations: 1.411 MB / 0.9549 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00322/0.3078, allocations: 0.8859 MB / 0.9557 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004179/0.3119, allocations: 1.715 MB / 0.9574 GB, free: 8.383 MB / 0.9167 GB Notification: Performance of SimCode: time 1.573e-06/0.3119, allocations: 4 kB / 0.9574 GB, free: 8.379 MB / 0.9167 GB Notification: Performance of Templates: time 0.466/0.778, allocations: 108.4 MB / 1.063 GB, free: 274.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 7.817765414249152]