Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001626/0.001626, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001947/0.001947, allocations: 219 kB / 23.04 MB, free: 5.078 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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.987/2.987, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",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.002195/0.002195, allocations: 62.92 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3397, allocations: 170 MB / 1.284 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2395/0.5792, allocations: 191.2 MB / 1.471 GB, free: 11.84 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01835/0.5975, allocations: 13.25 MB / 1.484 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.5987, allocations: 43.62 kB / 1.484 GB, free: 14.51 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.6002, allocations: 437.1 kB / 1.484 GB, free: 14.08 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003519/0.6037, allocations: 1.229 MB / 1.485 GB, free: 12.84 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.6061, allocations: 0.7381 MB / 1.486 GB, free: 12.11 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003517/0.6096, allocations: 2.067 MB / 1.488 GB, free: 10.04 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.6109, allocations: 0.6216 MB / 1.489 GB, free: 9.395 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004645/0.6156, allocations: 1.919 MB / 1.491 GB, free: 7.469 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/0.618, allocations: 0.7139 MB / 1.491 GB, free: 6.758 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003459/0.6184, allocations: 83.94 kB / 1.491 GB, free: 6.676 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002883/0.6212, allocations: 0.9353 MB / 1.492 GB, free: 5.738 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000669/0.6219, allocations: 398.8 kB / 1.493 GB, free: 5.348 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008176/0.6227, allocations: 0.4899 MB / 1.493 GB, free: 4.855 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002868/0.6256, allocations: 1.506 MB / 1.495 GB, free: 3.344 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6256, allocations: 0 / 1.495 GB, free: 3.344 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6256, allocations: 0 / 1.495 GB, free: 3.344 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.541e-05/0.6256, allocations: 4 kB / 1.495 GB, free: 3.34 MB / 1.186 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.002645/0.6283, allocations: 1.19 MB / 1.496 GB, free: 2.117 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.6283, allocations: 8.031 kB / 1.496 GB, free: 2.109 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.01e-05/0.6284, allocations: 29.94 kB / 1.496 GB, free: 2.078 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001606/0.6285, allocations: 122.5 kB / 1.496 GB, free: 1.949 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.6299, allocations: 219.2 kB / 1.496 GB, free: 1.734 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.6314, allocations: 0.6077 MB / 1.497 GB, free: 1.102 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.6315, allocations: 61.98 kB / 1.497 GB, free: 1.039 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.6316, allocations: 83.94 kB / 1.497 GB, free: 0.957 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.6331, allocations: 0.9288 MB / 1.498 GB, free: 15.94 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.6332, allocations: 11.88 kB / 1.498 GB, free: 15.93 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.617e-05/0.6333, allocations: 35.94 kB / 1.498 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.636e-05/0.6333, allocations: 29.31 kB / 1.498 GB, free: 15.87 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.6343, allocations: 0.6216 MB / 1.499 GB, free: 15.25 MB / 1.201 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.005094/0.6394, allocations: 4.527 MB / 1.503 GB, free: 10.43 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008863/0.6403, allocations: 460 kB / 1.503 GB, free: 9.957 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.6407, allocations: 236.7 kB / 1.504 GB, free: 9.719 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.6408, allocations: 19.98 kB / 1.504 GB, free: 9.699 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.166e-05/0.6409, allocations: 46.5 kB / 1.504 GB, free: 9.645 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.6409, allocations: 0 / 1.504 GB, free: 9.645 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.003084/0.644, allocations: 1.546 MB / 1.505 GB, free: 8.062 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.6441, allocations: 114.8 kB / 1.505 GB, free: 7.926 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009636/0.645, allocations: 0.7077 MB / 1.506 GB, free: 7.203 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.867e-05/0.6451, allocations: 37.7 kB / 1.506 GB, free: 7.16 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004006/0.6455, allocations: 428.5 kB / 1.506 GB, free: 6.738 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.6457, allocations: 170.6 kB / 1.507 GB, free: 6.57 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.6459, allocations: 122.3 kB / 1.507 GB, free: 6.445 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.646, allocations: 330 kB / 1.507 GB, free: 6.117 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.6464, allocations: 185.2 kB / 1.507 GB, free: 5.934 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.6469, allocations: 413.5 kB / 1.508 GB, free: 5.438 MB / 1.201 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.002487/0.6494, allocations: 1.11 MB / 1.509 GB, free: 4.242 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6494, allocations: 0 / 1.509 GB, free: 4.242 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001225/0.6506, allocations: 0.6763 MB / 1.509 GB, free: 3.559 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.6506, allocations: 8 kB / 1.509 GB, free: 3.551 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.6506, allocations: 8 kB / 1.509 GB, free: 3.543 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.6507, allocations: 11.94 kB / 1.509 GB, free: 3.531 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.6511, allocations: 131.7 kB / 1.51 GB, free: 3.402 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.6512, allocations: 11.98 kB / 1.51 GB, free: 3.391 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005891/0.6517, allocations: 20.34 kB / 1.51 GB, free: 3.371 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.6518, allocations: 39.94 kB / 1.51 GB, free: 3.332 MB / 1.201 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.0004515/0.6523, allocations: 269.6 kB / 1.51 GB, free: 3.059 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.6524, allocations: 95.36 kB / 1.51 GB, free: 2.965 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.6526, allocations: 83.67 kB / 1.51 GB, free: 2.875 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.6526, allocations: 4 kB / 1.51 GB, free: 2.871 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.6526, allocations: 4 kB / 1.51 GB, free: 2.867 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008957/0.6535, allocations: 0.7066 MB / 1.511 GB, free: 2.074 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/0.6563, allocations: 1.611 MB / 1.512 GB, free: 372 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.6563, allocations: 7.938 kB / 1.512 GB, free: 364 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004486/0.6568, allocations: 99.83 kB / 1.512 GB, free: 264 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.174e-05/0.6568, allocations: 8.5 kB / 1.512 GB, free: 256 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.6568, allocations: 20 kB / 1.512 GB, free: 236 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.6568, allocations: 7.984 kB / 1.512 GB, free: 228 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6568, allocations: 7.938 kB / 1.512 GB, free: 220 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.6581, allocations: 0.8692 MB / 1.513 GB, free: 15.28 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003443/0.6585, allocations: 131.4 kB / 1.513 GB, free: 15.15 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.6586, allocations: 16 kB / 1.513 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.659, allocations: 19.98 kB / 1.513 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.6591, allocations: 48 kB / 1.513 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/0.6591, allocations: 24 kB / 1.514 GB, free: 15.04 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000748/0.6599, allocations: 0.5068 MB / 1.514 GB, free: 14.54 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6599, allocations: 0 / 1.514 GB, free: 14.54 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008163/0.6607, allocations: 203.9 kB / 1.514 GB, free: 14.34 MB / 1.217 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.001958/0.6627, allocations: 1.489 MB / 1.516 GB, free: 12.79 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009946/0.6637, allocations: 468.1 kB / 1.516 GB, free: 12.33 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.6637, allocations: 1.562 kB / 1.516 GB, free: 12.33 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.664, allocations: 204.6 kB / 1.516 GB, free: 12.13 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.6663, allocations: 477.3 kB / 1.517 GB, free: 11.68 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.6766, allocations: 6.641 MB / 1.523 GB, free: 4.637 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007452/0.6774, allocations: 1.032 MB / 1.524 GB, free: 3.578 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007852/0.6782, allocations: 199 kB / 1.524 GB, free: 3.379 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004879/0.6787, allocations: 299.3 kB / 1.525 GB, free: 3.086 MB / 1.217 GB Notification: Performance of SimCode: time 1.653e-06/0.6787, allocations: 0 / 1.525 GB, free: 3.086 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05844/0.7371, allocations: 22.82 MB / 1.547 GB, free: 12.68 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.89, allocations: 8.141 kB / 1.547 GB, free: 12.68 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 21.21631697198609]