Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 104.5 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7611 GB, free: 15.72 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.89 kB / 1.104 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.016, allocations: 168.7 MB / 1.269 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2474/1.263, allocations: 191.1 MB / 1.455 GB, free: 5.977 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01171/1.275, allocations: 5.722 MB / 1.461 GB, free: 248 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/1.277, allocations: 39.75 kB / 1.461 GB, free: 208 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002031/1.279, allocations: 0.602 MB / 1.462 GB, free: 15.6 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005881/1.285, allocations: 1.906 MB / 1.463 GB, free: 13.69 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003468/1.288, allocations: 1.188 MB / 1.465 GB, free: 12.5 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004481/1.293, allocations: 2.959 MB / 1.468 GB, free: 9.535 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/1.295, allocations: 0.9408 MB / 1.468 GB, free: 8.574 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002486/1.297, allocations: 1.109 MB / 1.47 GB, free: 7.461 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/1.3, allocations: 1.036 MB / 1.471 GB, free: 6.43 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004581/1.3, allocations: 124 kB / 1.471 GB, free: 6.309 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003616/1.304, allocations: 1.532 MB / 1.472 GB, free: 4.773 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009292/1.305, allocations: 0.5843 MB / 1.473 GB, free: 4.188 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001564/1.306, allocations: 0.7156 MB / 1.473 GB, free: 3.469 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004791/1.311, allocations: 2.348 MB / 1.476 GB, free: 1.113 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.311, allocations: 0 / 1.476 GB, free: 1.113 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.984e-06/1.311, allocations: 0 / 1.476 GB, free: 1.113 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.635e-05/1.311, allocations: 0 / 1.476 GB, free: 1.113 MB / 1.154 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.003914/1.315, allocations: 1.657 MB / 1.477 GB, free: 15.4 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.315, allocations: 8.031 kB / 1.477 GB, free: 15.39 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003352/1.315, allocations: 164.1 kB / 1.478 GB, free: 15.22 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002393/1.318, allocations: 334.9 kB / 1.478 GB, free: 14.89 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/1.32, allocations: 0.9221 MB / 1.479 GB, free: 13.93 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/1.32, allocations: 70 kB / 1.479 GB, free: 13.86 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/1.32, allocations: 96 kB / 1.479 GB, free: 13.77 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/1.323, allocations: 1.085 MB / 1.48 GB, free: 12.68 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/1.323, allocations: 0 / 1.48 GB, free: 12.68 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/1.323, allocations: 44 kB / 1.48 GB, free: 12.64 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-05/1.323, allocations: 41.98 kB / 1.48 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/1.325, allocations: 0.9915 MB / 1.481 GB, free: 11.6 MB / 1.17 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.007783/1.332, allocations: 4.238 MB / 1.485 GB, free: 7.066 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/1.334, allocations: 0.5674 MB / 1.486 GB, free: 6.492 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/1.334, allocations: 318.5 kB / 1.486 GB, free: 6.176 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/1.334, allocations: 105.5 kB / 1.486 GB, free: 6.055 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/1.334, allocations: 46.94 kB / 1.486 GB, free: 6 MB / 1.17 GB Notification: Performance of pre-optimization done (n=53): time 3.116e-06/1.334, allocations: 0 / 1.486 GB, free: 6 MB / 1.17 GB Notification: Performance of matching and sorting (n=55): time 0.004788/1.339, allocations: 2.218 MB / 1.488 GB, free: 3.664 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/1.339, allocations: 63.91 kB / 1.488 GB, free: 3.59 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.341, allocations: 0.8765 MB / 1.489 GB, free: 2.707 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.073e-05/1.341, allocations: 41.7 kB / 1.489 GB, free: 2.66 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004894/1.341, allocations: 0.5274 MB / 1.49 GB, free: 2.125 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/1.341, allocations: 202.3 kB / 1.49 GB, free: 1.926 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/1.342, allocations: 138.6 kB / 1.49 GB, free: 1.785 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001556/1.342, allocations: 330 kB / 1.49 GB, free: 1.457 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/1.342, allocations: 289.8 kB / 1.491 GB, free: 1.176 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/1.343, allocations: 433 kB / 1.491 GB, free: 0.7031 MB / 1.17 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.004196/1.347, allocations: 1.739 MB / 1.493 GB, free: 14.89 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.347, allocations: 4 kB / 1.493 GB, free: 14.89 MB / 1.186 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001777/1.349, allocations: 0.9228 MB / 1.494 GB, free: 13.95 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/1.349, allocations: 12 kB / 1.494 GB, free: 13.94 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/1.349, allocations: 11.88 kB / 1.494 GB, free: 13.93 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/1.349, allocations: 98.45 kB / 1.494 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/1.35, allocations: 159.8 kB / 1.494 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004658/1.355, allocations: 4.644 MB / 1.499 GB, free: 8.605 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/1.356, allocations: 35.94 kB / 1.499 GB, free: 8.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.356, allocations: 28 kB / 1.499 GB, free: 8.543 MB / 1.186 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.0007295/1.357, allocations: 347 kB / 1.499 GB, free: 8.195 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002799/1.357, allocations: 103.4 kB / 1.499 GB, free: 8.094 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/1.357, allocations: 109.2 kB / 1.499 GB, free: 7.984 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.357, allocations: 4 kB / 1.499 GB, free: 7.98 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.357, allocations: 4 kB / 1.499 GB, free: 7.977 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001203/1.358, allocations: 0.7652 MB / 1.5 GB, free: 7.156 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004023/1.362, allocations: 1.992 MB / 1.502 GB, free: 5.059 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/1.362, allocations: 0 / 1.502 GB, free: 5.059 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007063/1.363, allocations: 152.2 kB / 1.502 GB, free: 4.91 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/1.363, allocations: 40.83 kB / 1.502 GB, free: 4.867 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/1.363, allocations: 16 kB / 1.502 GB, free: 4.852 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001489/1.365, allocations: 1.602 MB / 1.504 GB, free: 3.109 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.365, allocations: 11.95 kB / 1.504 GB, free: 3.098 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/1.367, allocations: 1.205 MB / 1.505 GB, free: 1.836 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/1.367, allocations: 264.3 kB / 1.505 GB, free: 1.559 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/1.368, allocations: 16 kB / 1.505 GB, free: 1.543 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000819/1.369, allocations: 32.83 kB / 1.505 GB, free: 1.516 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.369, allocations: 55.81 kB / 1.505 GB, free: 1.461 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.199e-05/1.369, allocations: 35.92 kB / 1.505 GB, free: 1.426 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001064/1.37, allocations: 0.6122 MB / 1.506 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/1.37, allocations: 0 / 1.506 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001228/1.371, allocations: 304 kB / 1.506 GB, free: 0.5234 MB / 1.186 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.002756/1.374, allocations: 1.847 MB / 1.508 GB, free: 14.61 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001766/1.376, allocations: 0.9828 MB / 1.509 GB, free: 13.59 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.376, allocations: 0 / 1.509 GB, free: 13.59 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006996/1.376, allocations: 436.1 kB / 1.509 GB, free: 13.16 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/1.379, allocations: 0.6504 MB / 1.51 GB, free: 12.52 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/1.393, allocations: 7.967 MB / 1.518 GB, free: 4.23 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/1.394, allocations: 1.166 MB / 1.519 GB, free: 3.035 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001071/1.395, allocations: 256.4 kB / 1.519 GB, free: 2.781 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006299/1.396, allocations: 379.3 kB / 1.519 GB, free: 2.41 MB / 1.201 GB Notification: Performance of SimCode: time 1.343e-06/1.396, allocations: 0 / 1.519 GB, free: 2.41 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07827/1.474, allocations: 30.65 MB / 1.549 GB, free: 4.293 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.55, allocations: 9.562 kB / 1.549 GB, free: 4.285 MB / 1.232 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.070339862257242]