Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005601/0.005601, allocations: 100.9 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 191.8 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 58.91 kB / 0.9504 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3303, allocations: 140.4 MB / 1.087 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9759/1.306, allocations: 190.5 MB / 1.273 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01027/1.317, allocations: 5.717 MB / 1.279 GB, free: 3.176 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002262/1.319, allocations: 41.56 kB / 1.279 GB, free: 3.176 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/1.321, allocations: 0.5867 MB / 1.28 GB, free: 3.168 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006926/1.328, allocations: 1.906 MB / 1.282 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004712/1.333, allocations: 1.188 MB / 1.283 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006698/1.339, allocations: 2.965 MB / 1.286 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/1.342, allocations: 1.118 MB / 1.287 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003331/1.345, allocations: 1.1 MB / 1.288 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/1.348, allocations: 0.959 MB / 1.289 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007155/1.349, allocations: 125.2 kB / 1.289 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004909/1.354, allocations: 1.452 MB / 1.29 GB, free: 2.938 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001402/1.356, allocations: 0.5735 MB / 1.291 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002506/1.358, allocations: 0.7212 MB / 1.292 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006164/1.364, allocations: 2.338 MB / 1.294 GB, free: 2.773 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.364, allocations: 0 / 1.294 GB, free: 2.773 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.464e-06/1.364, allocations: 3.094 kB / 1.294 GB, free: 2.773 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.692e-05/1.364, allocations: 0.875 kB / 1.294 GB, free: 2.773 MB / 1.014 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.004866/1.369, allocations: 1.623 MB / 1.295 GB, free: 1.957 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/1.369, allocations: 10.09 kB / 1.295 GB, free: 1.957 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004492/1.37, allocations: 157.3 kB / 1.296 GB, free: 1.918 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/1.372, allocations: 333.5 kB / 1.296 GB, free: 1.848 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/1.375, allocations: 0.9122 MB / 1.297 GB, free: 1.516 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/1.375, allocations: 74.66 kB / 1.297 GB, free: 1.512 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/1.375, allocations: 97.41 kB / 1.297 GB, free: 1.512 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/1.377, allocations: 1.084 MB / 1.298 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/1.377, allocations: 1.031 kB / 1.298 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-05/1.377, allocations: 41.59 kB / 1.298 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/1.377, allocations: 38.55 kB / 1.298 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/1.379, allocations: 0.9945 MB / 1.299 GB, free: 1.441 MB / 1.014 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.006891/1.386, allocations: 4.225 MB / 1.303 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/1.387, allocations: 0.5896 MB / 1.304 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/1.387, allocations: 347.7 kB / 1.304 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/1.387, allocations: 103.5 kB / 1.304 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/1.387, allocations: 46.38 kB / 1.304 GB, free: 15.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 3.757e-06/1.387, allocations: 0 / 1.304 GB, free: 15.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=55): time 0.004696/1.392, allocations: 2.199 MB / 1.306 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.392, allocations: 58.59 kB / 1.306 GB, free: 14.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/1.394, allocations: 0.8875 MB / 1.307 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.846e-05/1.394, allocations: 38.11 kB / 1.307 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/1.394, allocations: 0.5157 MB / 1.308 GB, free: 14.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/1.394, allocations: 196.3 kB / 1.308 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/1.395, allocations: 128.9 kB / 1.308 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.395, allocations: 339.2 kB / 1.308 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005391/1.395, allocations: 283.4 kB / 1.309 GB, free: 13.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/1.396, allocations: 437 kB / 1.309 GB, free: 13.69 MB / 1.029 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.004181/1.4, allocations: 1.742 MB / 1.311 GB, free: 13.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/1.4, allocations: 1.875 kB / 1.311 GB, free: 13.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001948/1.402, allocations: 0.9238 MB / 1.312 GB, free: 13.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/1.402, allocations: 7.219 kB / 1.312 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/1.402, allocations: 4.125 kB / 1.312 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002444/1.403, allocations: 93.58 kB / 1.312 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007168/1.403, allocations: 168.2 kB / 1.312 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/1.407, allocations: 4.633 MB / 1.317 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.408, allocations: 32.94 kB / 1.317 GB, free: 9.262 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.016e-05/1.409, allocations: 27.28 kB / 1.317 GB, free: 9.262 MB / 1.029 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.0007501/1.409, allocations: 345.8 kB / 1.317 GB, free: 9.145 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004296/1.41, allocations: 106.8 kB / 1.317 GB, free: 9.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/1.41, allocations: 114.2 kB / 1.317 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/1.41, allocations: 4.688 kB / 1.317 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/1.41, allocations: 2.062 kB / 1.317 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/1.412, allocations: 0.7688 MB / 1.318 GB, free: 8.801 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/1.415, allocations: 1.98 MB / 1.32 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.415, allocations: 9.25 kB / 1.32 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/1.416, allocations: 145.1 kB / 1.32 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/1.416, allocations: 45.39 kB / 1.32 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/1.416, allocations: 23.98 kB / 1.32 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/1.418, allocations: 1.595 MB / 1.322 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/1.418, allocations: 7.312 kB / 1.322 GB, free: 7.004 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/1.419, allocations: 1.213 MB / 1.323 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/1.42, allocations: 254 kB / 1.323 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.42, allocations: 14.12 kB / 1.323 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006814/1.421, allocations: 33.91 kB / 1.323 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/1.421, allocations: 49.23 kB / 1.323 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/1.421, allocations: 31.17 kB / 1.323 GB, free: 6.547 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007764/1.422, allocations: 0.6131 MB / 1.324 GB, free: 6.453 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.4e-07/1.422, allocations: 0 / 1.324 GB, free: 6.453 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0011/1.423, allocations: 304.6 kB / 1.324 GB, free: 6.453 MB / 1.029 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.002284/1.425, allocations: 1.862 MB / 1.326 GB, free: 5.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001593/1.427, allocations: 1.007 MB / 1.327 GB, free: 5.258 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.427, allocations: 0.8438 kB / 1.327 GB, free: 5.258 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005609/1.427, allocations: 452.2 kB / 1.327 GB, free: 5.141 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/1.43, allocations: 0.6503 MB / 1.328 GB, free: 5.051 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.441, allocations: 7.934 MB / 1.336 GB, free: 2.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/1.442, allocations: 1.169 MB / 1.337 GB, free: 1.406 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001149/1.443, allocations: 254 kB / 1.337 GB, free: 1.348 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/1.443, allocations: 379.3 kB / 1.337 GB, free: 1.07 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/1.443, allocations: 0 / 1.337 GB, free: 1.07 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06668/1.51, allocations: 30.49 MB / 1.367 GB, free: 6.844 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/14.09, allocations: 20.92 kB / 1.367 GB, free: 6.832 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches