Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001743/0.001743, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001277/0.001277, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.306/1.306, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] 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.903/2.903, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.001779/0.001779, allocations: 62.25 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2877, allocations: 179 MB / 1.345 GB, free: 436 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2135/0.5011, allocations: 194.5 MB / 1.535 GB, free: 13.21 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009038/0.5102, allocations: 5.761 MB / 1.541 GB, free: 7.441 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.5112, allocations: 55.5 kB / 1.541 GB, free: 7.387 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.5126, allocations: 0.602 MB / 1.542 GB, free: 6.781 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004144/0.5167, allocations: 1.937 MB / 1.543 GB, free: 4.836 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.5196, allocations: 1.238 MB / 1.545 GB, free: 3.605 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00397/0.5235, allocations: 3.03 MB / 1.548 GB, free: 0.5625 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.525, allocations: 0.8243 MB / 1.548 GB, free: 15.72 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.5275, allocations: 1.324 MB / 1.55 GB, free: 14.39 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.5298, allocations: 1.023 MB / 1.551 GB, free: 13.37 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003422/0.5302, allocations: 124 kB / 1.551 GB, free: 13.25 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.5334, allocations: 1.539 MB / 1.552 GB, free: 11.7 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008828/0.5342, allocations: 0.5844 MB / 1.553 GB, free: 11.12 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.5357, allocations: 0.7273 MB / 1.554 GB, free: 10.39 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.004108/0.5398, allocations: 2.348 MB / 1.556 GB, free: 8.031 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.5398, allocations: 0 / 1.556 GB, free: 8.031 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5398, allocations: 0 / 1.556 GB, free: 8.031 MB / 1.248 GB Notification: Performance of Transformations before backend: time 5.818e-05/0.5399, allocations: 0 / 1.556 GB, free: 8.031 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002924/0.5428, allocations: 1.583 MB / 1.557 GB, free: 6.414 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.5428, allocations: 15.97 kB / 1.557 GB, free: 6.398 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.189e-05/0.5428, allocations: 26 kB / 1.557 GB, free: 6.371 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001849/0.543, allocations: 156.2 kB / 1.558 GB, free: 6.211 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/0.5449, allocations: 338.8 kB / 1.558 GB, free: 5.879 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.5465, allocations: 0.8384 MB / 1.559 GB, free: 5.012 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/0.5465, allocations: 70 kB / 1.559 GB, free: 4.945 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.5467, allocations: 103.9 kB / 1.559 GB, free: 4.844 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.5485, allocations: 1.089 MB / 1.56 GB, free: 3.75 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.5485, allocations: 4 kB / 1.56 GB, free: 3.746 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/0.5486, allocations: 40 kB / 1.56 GB, free: 3.707 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/0.5486, allocations: 38 kB / 1.56 GB, free: 3.668 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.5503, allocations: 0.9915 MB / 1.561 GB, free: 2.676 MB / 1.248 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.006165/0.5565, allocations: 4.319 MB / 1.565 GB, free: 14.03 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009048/0.5574, allocations: 0.5784 MB / 1.566 GB, free: 13.45 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.5579, allocations: 322.5 kB / 1.566 GB, free: 13.12 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.5581, allocations: 32.41 kB / 1.566 GB, free: 13.09 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.5581, allocations: 43 kB / 1.566 GB, free: 13.04 MB / 1.264 GB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.5581, allocations: 3.938 kB / 1.566 GB, free: 13.04 MB / 1.264 GB Notification: Performance of matching and sorting (n=55): time 0.00413/0.5622, allocations: 1.908 MB / 1.568 GB, free: 11.09 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.5623, allocations: 55.91 kB / 1.568 GB, free: 11.02 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.5634, allocations: 0.8921 MB / 1.569 GB, free: 10.12 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-05/0.5635, allocations: 41.69 kB / 1.569 GB, free: 10.07 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.5639, allocations: 0.5196 MB / 1.57 GB, free: 9.547 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.5641, allocations: 202.3 kB / 1.57 GB, free: 9.348 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.5643, allocations: 138.5 kB / 1.57 GB, free: 9.207 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5645, allocations: 334 kB / 1.57 GB, free: 8.875 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.5649, allocations: 281.8 kB / 1.57 GB, free: 8.598 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.5656, allocations: 438.2 kB / 1.571 GB, free: 8.121 MB / 1.264 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.5694, allocations: 1.673 MB / 1.573 GB, free: 6.395 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5694, allocations: 0 / 1.573 GB, free: 6.395 MB / 1.264 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001558/0.571, allocations: 0.9287 MB / 1.573 GB, free: 5.449 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.571, allocations: 11.94 kB / 1.573 GB, free: 5.438 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.571, allocations: 4 kB / 1.573 GB, free: 5.434 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002124/0.5712, allocations: 90.52 kB / 1.574 GB, free: 5.336 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/0.5719, allocations: 167.9 kB / 1.574 GB, free: 5.172 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/0.5757, allocations: 4.323 MB / 1.578 GB, free: 0.5078 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/0.5765, allocations: 35.98 kB / 1.578 GB, free: 484 kB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/0.5765, allocations: 27.94 kB / 1.578 GB, free: 456 kB / 1.264 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005498/0.5771, allocations: 347.7 kB / 1.578 GB, free: 100 kB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/0.5773, allocations: 111.5 kB / 1.578 GB, free: 15.98 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/0.5775, allocations: 109.2 kB / 1.578 GB, free: 15.88 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.5776, allocations: 4 kB / 1.579 GB, free: 15.87 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5776, allocations: 4 kB / 1.579 GB, free: 15.87 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001129/0.5787, allocations: 0.7636 MB / 1.579 GB, free: 15.05 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/0.582, allocations: 1.96 MB / 1.581 GB, free: 13 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5821, allocations: 0 / 1.581 GB, free: 13 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000654/0.5827, allocations: 147.8 kB / 1.581 GB, free: 12.85 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.895e-05/0.5828, allocations: 48.75 kB / 1.581 GB, free: 12.8 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.5829, allocations: 16 kB / 1.581 GB, free: 12.79 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.5842, allocations: 1.502 MB / 1.583 GB, free: 11.17 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.5842, allocations: 4 kB / 1.583 GB, free: 11.16 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.5859, allocations: 1.21 MB / 1.584 GB, free: 9.891 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/0.5864, allocations: 187.3 kB / 1.584 GB, free: 9.707 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.5866, allocations: 11.98 kB / 1.584 GB, free: 9.695 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007184/0.5873, allocations: 39.19 kB / 1.584 GB, free: 9.66 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5874, allocations: 47.8 kB / 1.584 GB, free: 9.613 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/0.5875, allocations: 31.98 kB / 1.584 GB, free: 9.582 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008355/0.5883, allocations: 0.6161 MB / 1.585 GB, free: 8.973 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.5883, allocations: 0 / 1.585 GB, free: 8.973 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009522/0.5893, allocations: 304 kB / 1.585 GB, free: 8.676 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002295/0.5916, allocations: 1.832 MB / 1.587 GB, free: 6.781 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.5931, allocations: 0.9793 MB / 1.588 GB, free: 5.762 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.5931, allocations: 5 kB / 1.588 GB, free: 5.758 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006323/0.5937, allocations: 438.3 kB / 1.588 GB, free: 5.316 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.5965, allocations: 0.6485 MB / 1.589 GB, free: 4.68 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/0.609, allocations: 7.979 MB / 1.597 GB, free: 12.37 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009137/0.6099, allocations: 1.17 MB / 1.598 GB, free: 11.17 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008432/0.6108, allocations: 252.4 kB / 1.598 GB, free: 10.92 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/0.6113, allocations: 379.3 kB / 1.599 GB, free: 10.55 MB / 1.295 GB Notification: Performance of SimCode: time 9.62e-07/0.6113, allocations: 4 kB / 1.599 GB, free: 10.55 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6155/1.227, allocations: 31.21 MB / 1.629 GB, free: 258.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.5, allocations: 15.64 kB / 1.629 GB, free: 258.6 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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: 20.63126839103643]