Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0006744/0.0006744, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.000775/0.000775, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9042/0.9042, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.703/1.703, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial,fileNamePrefix="Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.9505 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.834e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial): time 0.03292/0.03295, allocations: 45.07 MB / 0.9945 GB, free: 6.301 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01363/0.04657, allocations: 12.92 MB / 1.007 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.04815, allocations: 95.25 kB / 1.007 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.04969, allocations: 0.8146 MB / 1.008 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.004642/0.05433, allocations: 2.463 MB / 1.01 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.05668, allocations: 1.408 MB / 1.012 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.01542/0.0721, allocations: 20.47 MB / 1.032 GB, free: 36 kB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009237/0.08133, allocations: 6.477 MB / 1.038 GB, free: 9.43 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0154/0.09673, allocations: 9.19 MB / 1.047 GB, free: 268 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5952/0.6919, allocations: 5.814 MB / 1.053 GB, free: 60.01 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001681/0.6936, allocations: 0.8426 MB / 1.054 GB, free: 60.01 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004431/0.698, allocations: 1.499 MB / 1.055 GB, free: 60.01 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.6996, allocations: 2.259 MB / 1.057 GB, free: 60.01 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.004253/0.7038, allocations: 3.035 MB / 1.06 GB, free: 60.01 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.7143, allocations: 12.28 MB / 1.072 GB, free: 59.52 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.7143, allocations: 0 / 1.072 GB, free: 59.52 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7143, allocations: 0 / 1.072 GB, free: 59.52 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003132/0.7146, allocations: 1.188 kB / 1.072 GB, free: 59.52 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.01403/0.7286, allocations: 7.782 MB / 1.08 GB, free: 56.75 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.997e-05/0.7287, allocations: 12.91 kB / 1.08 GB, free: 56.75 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001216/0.7299, allocations: 0.7743 MB / 1.081 GB, free: 56.68 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002628/0.7325, allocations: 0.8785 MB / 1.081 GB, free: 56.28 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.7436, allocations: 6.371 MB / 1.088 GB, free: 55.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003782/0.744, allocations: 415.4 kB / 1.088 GB, free: 55.26 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008385/0.7449, allocations: 0.5397 MB / 1.089 GB, free: 55.26 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01344/0.7583, allocations: 9.138 MB / 1.097 GB, free: 51.03 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.276e-05/0.7584, allocations: 24.09 kB / 1.098 GB, free: 51.02 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003946/0.7588, allocations: 235.2 kB / 1.098 GB, free: 50.85 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.759, allocations: 165.4 kB / 1.098 GB, free: 50.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009932/0.7689, allocations: 6.509 MB / 1.104 GB, free: 48.73 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.03131/0.8002, allocations: 23.29 MB / 1.127 GB, free: 35.93 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004356/0.8046, allocations: 3.431 MB / 1.13 GB, free: 34.75 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003151/0.8077, allocations: 2.576 MB / 1.133 GB, free: 33.94 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000447/0.8082, allocations: 147.1 kB / 1.133 GB, free: 33.92 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.306e-05/0.8082, allocations: 67.58 kB / 1.133 GB, free: 33.86 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=267): time 6.673e-06/0.8082, allocations: 4 kB / 1.133 GB, free: 33.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=267): time 0.008346/0.8166, allocations: 5.626 MB / 1.139 GB, free: 31.89 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.8166, allocations: 78.67 kB / 1.139 GB, free: 31.83 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005923/0.8226, allocations: 5.31 MB / 1.144 GB, free: 30.01 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002881/0.8228, allocations: 79.89 kB / 1.144 GB, free: 29.94 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/0.8243, allocations: 2.935 MB / 1.147 GB, free: 27.67 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007825/0.825, allocations: 0.965 MB / 1.148 GB, free: 26.91 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006676/0.8257, allocations: 0.7148 MB / 1.148 GB, free: 26.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.022e-05/0.8257, allocations: 301.1 kB / 1.149 GB, free: 26.27 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.8273, allocations: 1.677 MB / 1.15 GB, free: 25.71 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00214/0.8295, allocations: 3.035 MB / 1.153 GB, free: 23.48 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003974/0.8335, allocations: 4.958 MB / 1.158 GB, free: 20.52 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/0.8335, allocations: 11.56 kB / 1.158 GB, free: 20.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=475) (initialization): time 0.005535/0.839, allocations: 5.458 MB / 1.163 GB, free: 18.63 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.839, allocations: 21.41 kB / 1.163 GB, free: 18.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/0.8391, allocations: 38.59 kB / 1.164 GB, free: 18.63 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006822/0.8398, allocations: 422.9 kB / 1.164 GB, free: 18.53 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.8413, allocations: 0.8596 MB / 1.165 GB, free: 18.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.8445, allocations: 5.426 MB / 1.17 GB, free: 14.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002863/0.8474, allocations: 0.529 MB / 1.171 GB, free: 14.29 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.8476, allocations: 179.9 kB / 1.171 GB, free: 14.26 MB / 0.9948 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.003549/0.8511, allocations: 2.286 MB / 1.173 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006008/0.8517, allocations: 0.4982 MB / 1.173 GB, free: 13.08 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003849/0.8556, allocations: 4.183 MB / 1.178 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.8556, allocations: 23 kB / 1.178 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.8556, allocations: 7.188 kB / 1.178 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002835/0.8584, allocations: 3.615 MB / 1.181 GB, free: 8.715 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009589/0.868, allocations: 9.551 MB / 1.19 GB, free: 0.8828 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.868, allocations: 4 kB / 1.19 GB, free: 0.8789 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.869, allocations: 0.4945 MB / 1.191 GB, free: 416 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/0.8695, allocations: 381.1 kB / 1.191 GB, free: 32 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001604/0.8696, allocations: 71.97 kB / 1.191 GB, free: 15.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00378/0.8734, allocations: 5.363 MB / 1.197 GB, free: 10.42 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.8734, allocations: 8 kB / 1.197 GB, free: 10.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006627/0.8801, allocations: 6.253 MB / 1.203 GB, free: 4.008 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/0.882, allocations: 1.075 MB / 1.204 GB, free: 2.934 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/0.8825, allocations: 63.98 kB / 1.204 GB, free: 2.871 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.8839, allocations: 176 kB / 1.204 GB, free: 2.699 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.8842, allocations: 188.9 kB / 1.204 GB, free: 2.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001719/0.8843, allocations: 127.9 kB / 1.204 GB, free: 2.395 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.004212/0.8885, allocations: 3.855 MB / 1.208 GB, free: 14.56 MB / 1.026 GB Notification: Performance of sort global known variables: time 9e-08/0.8885, allocations: 0 / 1.208 GB, free: 14.56 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.004148/0.8927, allocations: 1.809 MB / 1.21 GB, free: 12.75 MB / 1.026 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.006826/0.8995, allocations: 7.176 MB / 1.217 GB, free: 5.461 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.004671/0.9042, allocations: 4.139 MB / 1.221 GB, free: 1.441 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.9042, allocations: 0 / 1.221 GB, free: 1.441 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.9062, allocations: 1.938 MB / 1.223 GB, free: 15.53 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008005/0.9142, allocations: 3.454 MB / 1.226 GB, free: 12.19 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05619/0.9704, allocations: 47.03 MB / 1.272 GB, free: 11.77 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002907/0.9733, allocations: 3.812 MB / 1.276 GB, free: 7.918 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.004558/0.9778, allocations: 1.856 MB / 1.278 GB, free: 6.074 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002664/0.9805, allocations: 2.445 MB / 1.28 GB, free: 3.633 MB / 1.089 GB Notification: Performance of SimCode: time 1.312e-06/0.9805, allocations: 0 / 1.28 GB, free: 3.633 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1701/1.151, allocations: 164.3 MB / 1.44 GB, free: 1.922 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.99, allocations: 3.438 kB / 1.44 GB, free: 1.922 MB / 1.245 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.fmu > Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Validation.StratifiedNonUniformInitial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Validation_StratifiedNonUniformInitial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.414999372325838]