Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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.000808/0.000808, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007999/0.0007999, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 0.8937/0.8937, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.714/1.714, allocations: 377.9 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.9809 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.539e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.02968/0.0297, allocations: 45.12 MB / 1.025 GB, free: 5.316 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.04393, allocations: 12.95 MB / 1.038 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002155/0.04609, allocations: 91.25 kB / 1.038 GB, free: 8.242 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.04799, allocations: 0.8146 MB / 1.039 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005142/0.05314, allocations: 2.455 MB / 1.041 GB, free: 4.953 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002759/0.0559, allocations: 1.402 MB / 1.042 GB, free: 3.559 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.536/0.5919, allocations: 20.52 MB / 1.062 GB, free: 44.42 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008141/0.6001, allocations: 6.481 MB / 1.069 GB, free: 43.8 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02267/0.6227, allocations: 9.443 MB / 1.078 GB, free: 41.18 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01087/0.6336, allocations: 5.755 MB / 1.084 GB, free: 39.48 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.003386/0.637, allocations: 0.8433 MB / 1.084 GB, free: 39.48 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006866/0.6438, allocations: 1.489 MB / 1.086 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.004207/0.6481, allocations: 2.263 MB / 1.088 GB, free: 38.04 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.009999/0.6581, allocations: 3.052 MB / 1.091 GB, free: 36.82 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0201/0.6782, allocations: 12.32 MB / 1.103 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.6782, allocations: 1.094 kB / 1.103 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.414e-06/0.6782, allocations: 0 / 1.103 GB, free: 33.09 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004751/0.6786, allocations: 0 / 1.103 GB, free: 33.09 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1414 * Number of variables: 1414 Notification: Performance of Generate backend data structure: time 0.02396/0.7026, allocations: 7.779 MB / 1.111 GB, free: 29.03 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.7027, allocations: 9.531 kB / 1.111 GB, free: 29.03 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003341/0.706, allocations: 0.7664 MB / 1.111 GB, free: 28.61 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005141/0.7111, allocations: 0.8803 MB / 1.112 GB, free: 28.21 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.725, allocations: 6.391 MB / 1.118 GB, free: 25.45 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004155/0.7255, allocations: 412.1 kB / 1.119 GB, free: 25.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002501/0.728, allocations: 0.5438 MB / 1.119 GB, free: 25.08 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02211/0.7501, allocations: 9.133 MB / 1.128 GB, free: 20.55 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001925/0.7503, allocations: 19.12 kB / 1.128 GB, free: 20.55 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001697/0.752, allocations: 239.3 kB / 1.129 GB, free: 20.38 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000171/0.7521, allocations: 170.3 kB / 1.129 GB, free: 20.37 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01454/0.7667, allocations: 6.509 MB / 1.135 GB, free: 18.25 MB / 0.9948 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.03827/0.8049, allocations: 23.31 MB / 1.158 GB, free: 5.398 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/0.8087, allocations: 3.432 MB / 1.161 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002448/0.8112, allocations: 2.583 MB / 1.164 GB, free: 2.949 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004286/0.8116, allocations: 143.8 kB / 1.164 GB, free: 2.898 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/0.8117, allocations: 73.23 kB / 1.164 GB, free: 2.832 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=267): time 5.6e-06/0.8117, allocations: 0 / 1.164 GB, free: 2.832 MB / 0.9948 GB Notification: Performance of matching and sorting (n=267): time 0.007823/0.8195, allocations: 5.622 MB / 1.169 GB, free: 15.95 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.8196, allocations: 82.27 kB / 1.17 GB, free: 15.88 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00755/0.8271, allocations: 5.315 MB / 1.175 GB, free: 11.61 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0009294/0.8281, allocations: 81.7 kB / 1.175 GB, free: 11.53 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.002125/0.8302, allocations: 2.926 MB / 1.178 GB, free: 8.594 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001633/0.8318, allocations: 0.9652 MB / 1.179 GB, free: 7.641 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008628/0.8327, allocations: 0.7175 MB / 1.179 GB, free: 6.918 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/0.8328, allocations: 309.1 kB / 1.18 GB, free: 6.613 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/0.8347, allocations: 1.67 MB / 1.181 GB, free: 4.941 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.8373, allocations: 3.032 MB / 1.184 GB, free: 1.352 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004755/0.842, allocations: 4.968 MB / 1.189 GB, free: 11.96 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.618e-05/0.8421, allocations: 12 kB / 1.189 GB, free: 11.95 MB / 1.026 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.007756/0.8498, allocations: 5.453 MB / 1.194 GB, free: 6.691 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/0.8498, allocations: 20 kB / 1.194 GB, free: 6.672 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/0.8499, allocations: 40 kB / 1.194 GB, free: 6.633 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007022/0.8506, allocations: 419.2 kB / 1.195 GB, free: 6.219 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/0.8525, allocations: 0.8581 MB / 1.196 GB, free: 5.418 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004402/0.8569, allocations: 5.424 MB / 1.201 GB, free: 15.83 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004719/0.8616, allocations: 0.5316 MB / 1.201 GB, free: 15.29 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007233/0.8623, allocations: 180 kB / 1.202 GB, free: 15.12 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 181 * Number of states: 0 () * Number of discrete variables: 2 (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 (447): * Single equations (assignments): 445 * Array equations: 0 * Algorithm blocks: 0 * 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.005164/0.8675, allocations: 2.286 MB / 1.204 GB, free: 12.88 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001953/0.8694, allocations: 0.5047 MB / 1.204 GB, free: 12.37 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00536/0.8748, allocations: 4.175 MB / 1.208 GB, free: 8.16 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.8748, allocations: 31.98 kB / 1.208 GB, free: 8.129 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.8748, allocations: 4 kB / 1.208 GB, free: 8.125 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00387/0.8787, allocations: 3.618 MB / 1.212 GB, free: 4.406 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01643/0.8951, allocations: 9.545 MB / 1.221 GB, free: 10.81 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.8951, allocations: 4.562 kB / 1.221 GB, free: 10.8 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.8963, allocations: 0.5038 MB / 1.222 GB, free: 10.32 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005725/0.8968, allocations: 371.3 kB / 1.222 GB, free: 9.961 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.897, allocations: 79.95 kB / 1.222 GB, free: 9.883 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.9009, allocations: 5.361 MB / 1.227 GB, free: 4.34 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.9009, allocations: 11.38 kB / 1.227 GB, free: 4.332 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008141/0.909, allocations: 6.262 MB / 1.234 GB, free: 13.92 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003231/0.9123, allocations: 1.077 MB / 1.235 GB, free: 12.84 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001417/0.9137, allocations: 59.98 kB / 1.235 GB, free: 12.78 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/0.9165, allocations: 169.8 kB / 1.235 GB, free: 12.62 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002662/0.9167, allocations: 192 kB / 1.235 GB, free: 12.43 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002707/0.917, allocations: 131.9 kB / 1.235 GB, free: 12.3 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.005843/0.9228, allocations: 3.855 MB / 1.239 GB, free: 8.465 MB / 1.073 GB Notification: Performance of sort global known variables: time 6e-08/0.9228, allocations: 0 / 1.239 GB, free: 8.465 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.007393/0.9302, allocations: 1.817 MB / 1.241 GB, free: 6.645 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 16 (heaTan.vol[1].dynBal.U,heaTan.vol[2].dynBal.U,heaTan.vol[3].dynBal.U,heaTan.vol[4].dynBal.U,heaTan.vol[5].dynBal.U,heaTan.vol[6].dynBal.U,heaTan.vol[7].dynBal.U,cooTan.vol[1].dynBal.U,cooTan.vol[2].dynBal.U,cooTan.vol[3].dynBal.U,cooTan.vol[4].dynBal.U,cooTan.vol[5].dynBal.U,cooTan.vol[6].dynBal.U,cooTan.vol[7].dynBal.U,dHTanEnh.y,dHTan.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 (242): * Single equations (assignments): 237 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.008939/0.9392, allocations: 7.183 MB / 1.248 GB, free: 15.35 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.005187/0.9444, allocations: 4.137 MB / 1.252 GB, free: 11.33 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/0.9444, allocations: 7.938 kB / 1.252 GB, free: 11.32 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.9466, allocations: 1.919 MB / 1.254 GB, free: 9.43 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01221/0.9588, allocations: 3.455 MB / 1.257 GB, free: 6.07 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07544/1.034, allocations: 47.03 MB / 1.303 GB, free: 5.621 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003073/1.037, allocations: 3.812 MB / 1.307 GB, free: 1.773 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.004924/1.042, allocations: 1.854 MB / 1.308 GB, free: 15.93 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004528/1.047, allocations: 2.44 MB / 1.311 GB, free: 13.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.113e-06/1.047, allocations: 0 / 1.311 GB, free: 13.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1863/1.233, allocations: 164.3 MB / 1.471 GB, free: 11.88 MB / 1.307 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/13.1, allocations: 0 / 1.471 GB, free: 11.88 MB / 1.307 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.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: 17.376546875573695]