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.007004/0.007004, allocations: 101.4 kB / 15.73 MB, free: 6.055 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.001611/0.001612, allocations: 200.2 kB / 16.68 MB, free: 5.969 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.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.178/2.178, allocations: 390.3 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 0.9504 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6835, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2452/0.9288, allocations: 190.5 MB / 1.273 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008676/0.9375, allocations: 5.709 MB / 1.279 GB, free: 9.441 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.9385, allocations: 43.75 kB / 1.279 GB, free: 9.398 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.9399, allocations: 0.5669 MB / 1.28 GB, free: 8.828 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003782/0.9437, allocations: 1.824 MB / 1.281 GB, free: 6.996 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.9463, allocations: 1.189 MB / 1.283 GB, free: 5.812 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002936/0.9492, allocations: 2.967 MB / 1.286 GB, free: 2.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.9505, allocations: 1.117 MB / 1.287 GB, free: 1.703 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.9519, allocations: 1.051 MB / 1.288 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.9534, allocations: 0.9551 MB / 1.289 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.9536, allocations: 123.9 kB / 1.289 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002416/0.956, allocations: 1.454 MB / 1.29 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005027/0.9565, allocations: 0.5611 MB / 1.291 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007173/0.9572, allocations: 0.7311 MB / 1.291 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002545/0.9598, allocations: 2.329 MB / 1.294 GB, free: 10.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9598, allocations: 0 / 1.294 GB, free: 10.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9598, allocations: 0 / 1.294 GB, free: 10.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.052e-05/0.9599, allocations: 4 kB / 1.294 GB, free: 10.48 MB / 1.029 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.002417/0.9623, allocations: 1.612 MB / 1.295 GB, free: 8.816 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.9623, allocations: 15.97 kB / 1.295 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001795/0.9625, allocations: 156.2 kB / 1.295 GB, free: 8.641 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.9645, allocations: 334.2 kB / 1.296 GB, free: 8.312 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/0.966, allocations: 0.9174 MB / 1.297 GB, free: 7.352 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.9661, allocations: 74 kB / 1.297 GB, free: 7.277 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.9662, allocations: 92 kB / 1.297 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.9679, allocations: 1.089 MB / 1.298 GB, free: 6.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.968, allocations: 0 / 1.298 GB, free: 6.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-05/0.9681, allocations: 44 kB / 1.298 GB, free: 6.047 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.9681, allocations: 45.98 kB / 1.298 GB, free: 6.004 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.9697, allocations: 0.9876 MB / 1.299 GB, free: 5.016 MB / 1.029 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.005727/0.9754, allocations: 4.213 MB / 1.303 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008862/0.9763, allocations: 0.5942 MB / 1.304 GB, free: 15.9 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.9768, allocations: 342.5 kB / 1.304 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.977, allocations: 105.5 kB / 1.304 GB, free: 15.45 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.9771, allocations: 50.94 kB / 1.304 GB, free: 15.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=53): time 4.158e-06/0.9771, allocations: 4 kB / 1.304 GB, free: 15.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=55): time 0.003881/0.981, allocations: 2.197 MB / 1.306 GB, free: 13.06 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.981, allocations: 59.91 kB / 1.306 GB, free: 12.99 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009862/0.982, allocations: 0.8843 MB / 1.307 GB, free: 12.1 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/0.9821, allocations: 37.7 kB / 1.307 GB, free: 12.05 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/0.9825, allocations: 0.5184 MB / 1.308 GB, free: 11.53 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.9826, allocations: 197.2 kB / 1.308 GB, free: 11.33 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/0.9828, allocations: 130.6 kB / 1.308 GB, free: 11.2 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.9829, allocations: 334 kB / 1.308 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.9834, allocations: 281.8 kB / 1.309 GB, free: 10.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.984, allocations: 438.9 kB / 1.309 GB, free: 10.11 MB / 1.045 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.003881/0.9879, allocations: 1.738 MB / 1.311 GB, free: 8.305 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9879, allocations: 4 kB / 1.311 GB, free: 8.301 MB / 1.045 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001501/0.9894, allocations: 0.9262 MB / 1.312 GB, free: 7.359 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.9894, allocations: 8 kB / 1.312 GB, free: 7.352 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.9895, allocations: 7.938 kB / 1.312 GB, free: 7.344 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/0.9897, allocations: 94.52 kB / 1.312 GB, free: 7.242 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007212/0.9904, allocations: 163.8 kB / 1.312 GB, free: 7.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003334/0.9937, allocations: 4.632 MB / 1.316 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008714/0.9946, allocations: 31.92 kB / 1.316 GB, free: 2 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.984e-05/0.9947, allocations: 36.14 kB / 1.316 GB, free: 1.965 MB / 1.045 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.0005004/0.9952, allocations: 353.2 kB / 1.317 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.9954, allocations: 98.78 kB / 1.317 GB, free: 1.516 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.9956, allocations: 117.1 kB / 1.317 GB, free: 1.402 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.9957, allocations: 8 kB / 1.317 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9957, allocations: 0 / 1.317 GB, free: 1.395 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001067/0.9967, allocations: 0.7614 MB / 1.318 GB, free: 0.5781 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/1, allocations: 1.981 MB / 1.32 GB, free: 14.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1, allocations: 4.406 kB / 1.32 GB, free: 14.49 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006938/1.001, allocations: 151.8 kB / 1.32 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.37e-05/1.001, allocations: 36.84 kB / 1.32 GB, free: 14.3 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.984e-05/1.001, allocations: 19.98 kB / 1.32 GB, free: 14.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/1.002, allocations: 1.613 MB / 1.321 GB, free: 12.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/1.002, allocations: 4 kB / 1.321 GB, free: 12.52 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/1.004, allocations: 1.208 MB / 1.323 GB, free: 11.25 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004653/1.004, allocations: 259.8 kB / 1.323 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.004, allocations: 19.98 kB / 1.323 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007245/1.005, allocations: 29.95 kB / 1.323 GB, free: 10.93 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.005, allocations: 47.88 kB / 1.323 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/1.005, allocations: 31.98 kB / 1.323 GB, free: 10.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007667/1.006, allocations: 0.6083 MB / 1.324 GB, free: 10.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.006, allocations: 0 / 1.324 GB, free: 10.25 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0009016/1.007, allocations: 308 kB / 1.324 GB, free: 9.949 MB / 1.061 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.002216/1.009, allocations: 1.856 MB / 1.326 GB, free: 8.031 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001455/1.011, allocations: 1.007 MB / 1.327 GB, free: 6.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/1.011, allocations: 1 kB / 1.327 GB, free: 6.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000613/1.011, allocations: 454.5 kB / 1.327 GB, free: 6.523 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/1.014, allocations: 0.6444 MB / 1.328 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/1.025, allocations: 7.929 MB / 1.335 GB, free: 13.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/1.025, allocations: 1.166 MB / 1.337 GB, free: 12.45 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008102/1.026, allocations: 260.3 kB / 1.337 GB, free: 12.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005183/1.027, allocations: 379.3 kB / 1.337 GB, free: 11.82 MB / 1.076 GB Notification: Performance of SimCode: time 6.91e-07/1.027, allocations: 0 / 1.337 GB, free: 11.82 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06027/1.087, allocations: 30.49 MB / 1.367 GB, free: 13.89 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.53, allocations: 14.69 kB / 1.367 GB, free: 13.88 MB / 1.107 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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