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.001441/0.001441, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001625/0.001625, allocations: 220.1 kB / 22.26 MB, free: 5.117 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.355/1.355, allocations: 230.6 MB / 256 MB, free: 8.016 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.929/2.929, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.001908/0.001908, allocations: 63.86 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2996, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2102/0.5097, allocations: 194.5 MB / 1.543 GB, free: 5.227 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009133/0.5189, allocations: 5.763 MB / 1.548 GB, free: 15.45 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.5199, allocations: 59.5 kB / 1.548 GB, free: 15.39 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.5214, allocations: 0.6059 MB / 1.549 GB, free: 14.79 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004243/0.5257, allocations: 1.937 MB / 1.551 GB, free: 12.84 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.5285, allocations: 1.233 MB / 1.552 GB, free: 11.61 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003803/0.5323, allocations: 3.037 MB / 1.555 GB, free: 8.57 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.5336, allocations: 0.8243 MB / 1.556 GB, free: 7.727 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.5359, allocations: 1.308 MB / 1.557 GB, free: 6.414 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.5381, allocations: 1.035 MB / 1.558 GB, free: 5.383 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002581/0.5383, allocations: 120 kB / 1.558 GB, free: 5.266 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.541, allocations: 1.543 MB / 1.56 GB, free: 3.719 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0006776/0.5417, allocations: 0.5843 MB / 1.56 GB, free: 3.133 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.5427, allocations: 0.7233 MB / 1.561 GB, free: 2.406 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003143/0.5458, allocations: 2.344 MB / 1.563 GB, free: 56 kB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.5458, allocations: 0 / 1.563 GB, free: 56 kB / 1.248 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5458, allocations: 0 / 1.563 GB, free: 56 kB / 1.248 GB Notification: Performance of Transformations before backend: time 5.274e-05/0.5459, allocations: 0 / 1.563 GB, free: 56 kB / 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.002905/0.5488, allocations: 1.59 MB / 1.565 GB, free: 14.43 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.5488, allocations: 12.03 kB / 1.565 GB, free: 14.41 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.549, allocations: 160.2 kB / 1.565 GB, free: 14.25 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.551, allocations: 334.9 kB / 1.565 GB, free: 13.92 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.5526, allocations: 0.8461 MB / 1.566 GB, free: 13.05 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/0.5527, allocations: 70 kB / 1.566 GB, free: 12.98 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.5529, allocations: 104 kB / 1.566 GB, free: 12.88 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.5547, allocations: 1.081 MB / 1.567 GB, free: 11.79 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.5547, allocations: 7.953 kB / 1.568 GB, free: 11.78 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.385e-05/0.5548, allocations: 40 kB / 1.568 GB, free: 11.74 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/0.5549, allocations: 38 kB / 1.568 GB, free: 11.7 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.5566, allocations: 0.9915 MB / 1.569 GB, free: 10.71 MB / 1.264 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.00647/0.563, allocations: 4.327 MB / 1.573 GB, free: 6.062 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009108/0.5639, allocations: 0.5675 MB / 1.573 GB, free: 5.488 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/0.5645, allocations: 322.5 kB / 1.574 GB, free: 5.168 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/0.5646, allocations: 32.41 kB / 1.574 GB, free: 5.137 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.5647, allocations: 43 kB / 1.574 GB, free: 5.082 MB / 1.264 GB Notification: Performance of pre-optimization done (n=53): time 1.402e-06/0.5647, allocations: 0 / 1.574 GB, free: 5.082 MB / 1.264 GB Notification: Performance of matching and sorting (n=55): time 0.003767/0.5684, allocations: 1.904 MB / 1.576 GB, free: 3.137 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.5685, allocations: 71.72 kB / 1.576 GB, free: 3.055 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.5695, allocations: 0.8765 MB / 1.576 GB, free: 2.168 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.5696, allocations: 45.7 kB / 1.577 GB, free: 2.117 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000397/0.57, allocations: 0.5312 MB / 1.577 GB, free: 1.578 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.5702, allocations: 202.2 kB / 1.577 GB, free: 1.379 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.5704, allocations: 134.6 kB / 1.577 GB, free: 1.238 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5705, allocations: 334 kB / 1.578 GB, free: 0.9062 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.571, allocations: 281.8 kB / 1.578 GB, free: 0.6328 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.5716, allocations: 433 kB / 1.578 GB, free: 164 kB / 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.0038/0.5754, allocations: 1.673 MB / 1.58 GB, free: 14.43 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5754, allocations: 4 kB / 1.58 GB, free: 14.43 MB / 1.279 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001527/0.5769, allocations: 0.9249 MB / 1.581 GB, free: 13.48 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5769, allocations: 8 kB / 1.581 GB, free: 13.48 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.5769, allocations: 7.938 kB / 1.581 GB, free: 13.47 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.5772, allocations: 98.45 kB / 1.581 GB, free: 13.36 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006911/0.5778, allocations: 167.8 kB / 1.581 GB, free: 13.2 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003691/0.5815, allocations: 4.318 MB / 1.585 GB, free: 8.539 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.5823, allocations: 36.08 kB / 1.585 GB, free: 8.504 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/0.5823, allocations: 28 kB / 1.585 GB, free: 8.477 MB / 1.279 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.0004963/0.5828, allocations: 353.4 kB / 1.586 GB, free: 8.121 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.583, allocations: 107.3 kB / 1.586 GB, free: 8.016 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.5832, allocations: 109.2 kB / 1.586 GB, free: 7.902 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.5832, allocations: 4 kB / 1.586 GB, free: 7.898 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.5832, allocations: 4 kB / 1.586 GB, free: 7.895 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001088/0.5843, allocations: 0.7638 MB / 1.587 GB, free: 7.074 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/0.5875, allocations: 1.961 MB / 1.589 GB, free: 5.02 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5875, allocations: 4 kB / 1.589 GB, free: 5.016 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.5881, allocations: 143.8 kB / 1.589 GB, free: 4.875 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.933e-05/0.5882, allocations: 36.83 kB / 1.589 GB, free: 4.836 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.5883, allocations: 16 kB / 1.589 GB, free: 4.82 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.5896, allocations: 1.506 MB / 1.59 GB, free: 3.199 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.5896, allocations: 7.938 kB / 1.59 GB, free: 3.191 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.5914, allocations: 1.218 MB / 1.592 GB, free: 1.91 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/0.5918, allocations: 183.3 kB / 1.592 GB, free: 1.73 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.592, allocations: 23.98 kB / 1.592 GB, free: 1.707 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/0.5926, allocations: 33.3 kB / 1.592 GB, free: 1.676 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.5927, allocations: 51.8 kB / 1.592 GB, free: 1.625 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.5928, allocations: 31.98 kB / 1.592 GB, free: 1.594 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007787/0.5936, allocations: 0.6083 MB / 1.592 GB, free: 0.9922 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5936, allocations: 8 kB / 1.592 GB, free: 0.9844 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008827/0.5945, allocations: 304 kB / 1.593 GB, free: 0.6875 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.002301/0.5968, allocations: 1.824 MB / 1.595 GB, free: 14.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.5983, allocations: 0.983 MB / 1.595 GB, free: 13.78 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5983, allocations: 1 kB / 1.595 GB, free: 13.78 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006216/0.5989, allocations: 434.6 kB / 1.596 GB, free: 13.34 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002559/0.6015, allocations: 0.6544 MB / 1.597 GB, free: 12.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.6124, allocations: 7.974 MB / 1.604 GB, free: 4.402 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000835/0.6132, allocations: 1.167 MB / 1.605 GB, free: 3.207 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007737/0.614, allocations: 256.4 kB / 1.606 GB, free: 2.953 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/0.6145, allocations: 383.3 kB / 1.606 GB, free: 2.582 MB / 1.295 GB Notification: Performance of SimCode: time 6.42e-07/0.6145, allocations: 0 / 1.606 GB, free: 2.582 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6034/1.218, allocations: 31.2 MB / 1.637 GB, free: 248.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.44, allocations: 4.281 kB / 1.637 GB, free: 248.4 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.527840565191582]