Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001474/0.001474, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.0016/0.0016, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.446/1.446, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.802/2.802, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_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.001858/0.001858, allocations: 67.89 kB / 1.165 GB, free: 444 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.828/0.8299, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.215/1.045, allocations: 190.9 MB / 1.527 GB, free: 9.145 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0162/1.061, allocations: 13.16 MB / 1.539 GB, free: 11.94 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001026/1.062, allocations: 43.62 kB / 1.54 GB, free: 11.9 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/1.063, allocations: 437.1 kB / 1.54 GB, free: 11.47 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002767/1.066, allocations: 1.198 MB / 1.541 GB, free: 10.27 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/1.068, allocations: 0.7127 MB / 1.542 GB, free: 9.559 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002553/1.07, allocations: 2.012 MB / 1.544 GB, free: 7.543 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009972/1.071, allocations: 0.6949 MB / 1.544 GB, free: 6.832 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0045/1.076, allocations: 2.02 MB / 1.546 GB, free: 4.805 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/1.077, allocations: 0.6934 MB / 1.547 GB, free: 4.113 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001259/1.077, allocations: 80 kB / 1.547 GB, free: 4.035 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001706/1.079, allocations: 0.9198 MB / 1.548 GB, free: 3.113 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004051/1.08, allocations: 394.8 kB / 1.548 GB, free: 2.727 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005453/1.08, allocations: 0.4976 MB / 1.549 GB, free: 2.227 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00202/1.082, allocations: 1.491 MB / 1.55 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.082, allocations: 0 / 1.55 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.493e-06/1.082, allocations: 0 / 1.55 GB, free: 0.7305 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.246e-05/1.082, allocations: 4 kB / 1.55 GB, free: 0.7266 MB / 1.217 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.001934/1.084, allocations: 1.265 MB / 1.552 GB, free: 15.41 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.084, allocations: 8.031 kB / 1.552 GB, free: 15.4 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.717e-05/1.084, allocations: 22 kB / 1.552 GB, free: 15.38 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/1.084, allocations: 130.5 kB / 1.552 GB, free: 15.24 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/1.085, allocations: 211.2 kB / 1.552 GB, free: 15.04 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/1.087, allocations: 0.6915 MB / 1.553 GB, free: 14.3 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.411e-05/1.087, allocations: 61.98 kB / 1.553 GB, free: 14.24 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/1.087, allocations: 76 kB / 1.553 GB, free: 14.17 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/1.088, allocations: 0.9364 MB / 1.554 GB, free: 13.14 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/1.088, allocations: 11.94 kB / 1.554 GB, free: 13.13 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.369e-05/1.088, allocations: 32 kB / 1.554 GB, free: 13.1 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/1.088, allocations: 25.31 kB / 1.554 GB, free: 13.08 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00098/1.089, allocations: 0.6216 MB / 1.554 GB, free: 12.46 MB / 1.232 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.004468/1.094, allocations: 4.668 MB / 1.559 GB, free: 7.48 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008018/1.094, allocations: 0.524 MB / 1.559 GB, free: 6.914 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/1.095, allocations: 235.1 kB / 1.56 GB, free: 6.676 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/1.095, allocations: 97.09 kB / 1.56 GB, free: 6.562 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/1.095, allocations: 54.22 kB / 1.56 GB, free: 6.5 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 1.834e-06/1.095, allocations: 0 / 1.56 GB, free: 6.5 MB / 1.232 GB Notification: Performance of matching and sorting (n=45): time 0.00275/1.098, allocations: 1.612 MB / 1.561 GB, free: 4.828 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/1.098, allocations: 115.1 kB / 1.561 GB, free: 4.691 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008246/1.099, allocations: 0.7116 MB / 1.562 GB, free: 3.973 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/1.099, allocations: 37.7 kB / 1.562 GB, free: 3.93 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/1.099, allocations: 424.5 kB / 1.563 GB, free: 3.508 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/1.099, allocations: 170.6 kB / 1.563 GB, free: 3.34 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/1.099, allocations: 114.3 kB / 1.563 GB, free: 3.223 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.099, allocations: 330 kB / 1.563 GB, free: 2.895 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/1.1, allocations: 189.2 kB / 1.563 GB, free: 2.711 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/1.1, allocations: 417 kB / 1.564 GB, free: 2.207 MB / 1.232 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.002265/1.103, allocations: 1.181 MB / 1.565 GB, free: 0.9258 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.103, allocations: 0 / 1.565 GB, free: 0.9258 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001043/1.104, allocations: 0.6758 MB / 1.566 GB, free: 248 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.104, allocations: 8.781 kB / 1.566 GB, free: 240 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.104, allocations: 8 kB / 1.566 GB, free: 232 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/1.104, allocations: 15.98 kB / 1.566 GB, free: 216 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/1.104, allocations: 123.8 kB / 1.566 GB, free: 92 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/1.104, allocations: 11.94 kB / 1.566 GB, free: 80 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005201/1.105, allocations: 27.94 kB / 1.566 GB, free: 52 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/1.105, allocations: 28 kB / 1.566 GB, free: 24 kB / 1.232 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.0003696/1.105, allocations: 273.6 kB / 1.566 GB, free: 15.75 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/1.105, allocations: 87.42 kB / 1.566 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001734/1.105, allocations: 91.66 kB / 1.566 GB, free: 15.57 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.105, allocations: 7.938 kB / 1.566 GB, free: 15.56 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.105, allocations: 4 kB / 1.566 GB, free: 15.55 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007584/1.106, allocations: 0.7037 MB / 1.567 GB, free: 14.77 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/1.109, allocations: 1.642 MB / 1.569 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/1.109, allocations: 7.938 kB / 1.569 GB, free: 13.01 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/1.109, allocations: 95.89 kB / 1.569 GB, free: 12.91 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/1.109, allocations: 12.03 kB / 1.569 GB, free: 12.9 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.355e-05/1.109, allocations: 15.98 kB / 1.569 GB, free: 12.89 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/1.109, allocations: 8 kB / 1.569 GB, free: 12.88 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.109, allocations: 11.98 kB / 1.569 GB, free: 12.87 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/1.11, allocations: 0.8694 MB / 1.57 GB, free: 11.93 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/1.11, allocations: 212.5 kB / 1.57 GB, free: 11.7 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.771e-05/1.111, allocations: 12 kB / 1.57 GB, free: 11.69 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/1.111, allocations: 23.98 kB / 1.57 GB, free: 11.67 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/1.111, allocations: 39.84 kB / 1.57 GB, free: 11.63 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/1.111, allocations: 19.98 kB / 1.57 GB, free: 11.61 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006394/1.112, allocations: 0.5068 MB / 1.57 GB, free: 11.11 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/1.112, allocations: 0 / 1.57 GB, free: 11.11 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006916/1.112, allocations: 207.9 kB / 1.571 GB, free: 10.9 MB / 1.248 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.001712/1.114, allocations: 1.483 MB / 1.572 GB, free: 9.355 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0007673/1.115, allocations: 464.7 kB / 1.572 GB, free: 8.902 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.115, allocations: 0 / 1.572 GB, free: 8.902 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002933/1.115, allocations: 204.2 kB / 1.573 GB, free: 8.703 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/1.117, allocations: 483.8 kB / 1.573 GB, free: 8.246 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00855/1.126, allocations: 6.64 MB / 1.58 GB, free: 1.211 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006665/1.126, allocations: 1.036 MB / 1.581 GB, free: 152 kB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006358/1.127, allocations: 203 kB / 1.581 GB, free: 15.95 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/1.127, allocations: 295.3 kB / 1.581 GB, free: 15.66 MB / 1.264 GB Notification: Performance of SimCode: time 8.12e-07/1.127, allocations: 0 / 1.581 GB, free: 15.66 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04889/1.176, allocations: 22.34 MB / 1.603 GB, free: 9.754 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.242/10.42, allocations: 7.688 kB / 1.603 GB, free: 9.746 MB / 1.279 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.52500023698667]