Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001233/0.001233, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001382/0.001382, allocations: 216.7 kB / 22.24 MB, free: 5.258 MB / 14.72 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.344/1.344, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.932/2.932, allocations: 0.49 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 68.58 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3249, allocations: 176.1 MB / 1.326 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1932/0.5181, allocations: 165.7 MB / 1.488 GB, free: 11.18 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01648/0.5346, allocations: 12.02 MB / 1.499 GB, free: 15.12 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009958/0.5356, allocations: 47.62 kB / 1.499 GB, free: 15.08 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.5368, allocations: 429.1 kB / 1.5 GB, free: 14.66 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002814/0.5396, allocations: 1.198 MB / 1.501 GB, free: 13.45 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.5413, allocations: 0.7484 MB / 1.502 GB, free: 12.71 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002546/0.5439, allocations: 2.051 MB / 1.504 GB, free: 10.65 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009288/0.5448, allocations: 0.6216 MB / 1.504 GB, free: 10 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004668/0.5495, allocations: 2.001 MB / 1.506 GB, free: 7.992 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.5515, allocations: 0.7105 MB / 1.507 GB, free: 7.285 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.5516, allocations: 80 kB / 1.507 GB, free: 7.207 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.5532, allocations: 0.7326 MB / 1.508 GB, free: 6.473 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.5536, allocations: 394.8 kB / 1.508 GB, free: 6.086 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.5541, allocations: 422.1 kB / 1.509 GB, free: 5.672 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001944/0.5561, allocations: 1.483 MB / 1.51 GB, free: 4.184 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5561, allocations: 4 kB / 1.51 GB, free: 4.18 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5561, allocations: 0 / 1.51 GB, free: 4.18 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.285e-05/0.5561, allocations: 0 / 1.51 GB, free: 4.18 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.00184/0.5579, allocations: 1.191 MB / 1.511 GB, free: 2.957 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.558, allocations: 12.03 kB / 1.511 GB, free: 2.945 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.5581, allocations: 114.5 kB / 1.511 GB, free: 2.824 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.5593, allocations: 227.1 kB / 1.512 GB, free: 2.602 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.5604, allocations: 0.6116 MB / 1.512 GB, free: 1.961 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.5605, allocations: 58 kB / 1.512 GB, free: 1.906 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.5606, allocations: 83.94 kB / 1.512 GB, free: 1.824 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.562, allocations: 1.054 MB / 1.513 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.5621, allocations: 7.938 kB / 1.513 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-05/0.5621, allocations: 35.94 kB / 1.513 GB, free: 0.6094 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.802e-05/0.5622, allocations: 29.31 kB / 1.513 GB, free: 0.582 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009875/0.5632, allocations: 0.6178 MB / 1.514 GB, free: 15.96 MB / 1.217 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.004204/0.5674, allocations: 3.718 MB / 1.518 GB, free: 12.1 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007877/0.5682, allocations: 468.4 kB / 1.518 GB, free: 11.61 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.5685, allocations: 232.5 kB / 1.518 GB, free: 11.38 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.5686, allocations: 23.98 kB / 1.518 GB, free: 11.36 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.5687, allocations: 42.5 kB / 1.518 GB, free: 11.3 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.214e-06/0.5687, allocations: 0 / 1.518 GB, free: 11.3 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.002743/0.5714, allocations: 1.555 MB / 1.52 GB, free: 9.715 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.5715, allocations: 111 kB / 1.52 GB, free: 9.582 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008542/0.5724, allocations: 0.7271 MB / 1.521 GB, free: 8.844 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.5724, allocations: 33.7 kB / 1.521 GB, free: 8.805 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.5727, allocations: 424.5 kB / 1.521 GB, free: 8.383 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.5729, allocations: 174.5 kB / 1.521 GB, free: 8.211 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.5731, allocations: 118.3 kB / 1.521 GB, free: 8.09 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5732, allocations: 333.8 kB / 1.522 GB, free: 7.762 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.5735, allocations: 185.2 kB / 1.522 GB, free: 7.582 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.5741, allocations: 0.5617 MB / 1.522 GB, free: 6.887 MB / 1.217 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.5764, allocations: 1.105 MB / 1.523 GB, free: 5.695 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5764, allocations: 3.938 kB / 1.523 GB, free: 5.691 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001057/0.5774, allocations: 0.6871 MB / 1.524 GB, free: 4.996 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.5775, allocations: 9.562 kB / 1.524 GB, free: 4.988 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.5775, allocations: 4 kB / 1.524 GB, free: 4.984 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.423e-05/0.5775, allocations: 12.78 kB / 1.524 GB, free: 4.973 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.578, allocations: 119.8 kB / 1.524 GB, free: 4.855 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/0.578, allocations: 23.92 kB / 1.524 GB, free: 4.832 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.5785, allocations: 24.06 kB / 1.524 GB, free: 4.809 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.5786, allocations: 27.98 kB / 1.524 GB, free: 4.781 MB / 1.217 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003725/0.5789, allocations: 271.8 kB / 1.525 GB, free: 4.508 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.5791, allocations: 95.36 kB / 1.525 GB, free: 4.414 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.5793, allocations: 87.67 kB / 1.525 GB, free: 4.328 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5793, allocations: 4 kB / 1.525 GB, free: 4.324 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5793, allocations: 0 / 1.525 GB, free: 4.324 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007716/0.58, allocations: 0.708 MB / 1.526 GB, free: 3.531 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.5825, allocations: 1.513 MB / 1.527 GB, free: 1.918 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5826, allocations: 4 kB / 1.527 GB, free: 1.914 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.583, allocations: 103.9 kB / 1.527 GB, free: 1.812 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.583, allocations: 8 kB / 1.527 GB, free: 1.805 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.5831, allocations: 16 kB / 1.527 GB, free: 1.789 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.5831, allocations: 7.938 kB / 1.527 GB, free: 1.781 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5831, allocations: 4 kB / 1.527 GB, free: 1.777 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.5842, allocations: 0.8729 MB / 1.528 GB, free: 0.8359 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.5845, allocations: 139.4 kB / 1.528 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.633e-05/0.5846, allocations: 12 kB / 1.528 GB, free: 0.6875 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.5851, allocations: 23.98 kB / 1.528 GB, free: 0.6641 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.5851, allocations: 39.81 kB / 1.528 GB, free: 0.625 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.5852, allocations: 20 kB / 1.528 GB, free: 0.6055 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006307/0.5858, allocations: 0.5068 MB / 1.529 GB, free: 104 kB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5858, allocations: 3.938 kB / 1.529 GB, free: 100 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007263/0.5865, allocations: 208 kB / 1.529 GB, free: 15.89 MB / 1.233 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.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 (45): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.001666/0.5882, allocations: 1.483 MB / 1.53 GB, free: 14.35 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.00079/0.589, allocations: 457.7 kB / 1.531 GB, free: 13.9 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.589, allocations: 4 kB / 1.531 GB, free: 13.9 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.5893, allocations: 208 kB / 1.531 GB, free: 13.7 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001969/0.5913, allocations: 476.6 kB / 1.531 GB, free: 13.24 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00876/0.6, allocations: 6.644 MB / 1.538 GB, free: 6.195 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.6005, allocations: 440.9 kB / 1.538 GB, free: 5.738 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.0006586/0.6012, allocations: 191 kB / 1.539 GB, free: 5.547 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/0.6016, allocations: 303.3 kB / 1.539 GB, free: 5.25 MB / 1.233 GB Notification: Performance of SimCode: time 7.11e-07/0.6016, allocations: 0 / 1.539 GB, free: 5.25 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0596/0.6612, allocations: 24.8 MB / 1.563 GB, free: 13.04 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.61, allocations: 6.297 kB / 1.563 GB, free: 13.03 MB / 1.264 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.717616101988824]