Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_10_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.008973/0.008973, allocations: 102.8 kB / 15.73 MB, free: 6.484 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.002213/0.002213, allocations: 196.4 kB / 16.68 MB, free: 6.375 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.649/2.649, allocations: 437 MB / 0.7105 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3024, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9371/1.24, allocations: 190.5 MB / 1.352 GB, free: 2.836 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01105/1.251, allocations: 5.706 MB / 1.358 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002105/1.253, allocations: 42.12 kB / 1.358 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/1.255, allocations: 0.5988 MB / 1.358 GB, free: 14.44 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005757/1.261, allocations: 1.896 MB / 1.36 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003514/1.264, allocations: 1.192 MB / 1.361 GB, free: 12.75 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00503/1.269, allocations: 2.958 MB / 1.364 GB, free: 11.41 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002021/1.271, allocations: 1.123 MB / 1.365 GB, free: 10.93 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/1.274, allocations: 1.101 MB / 1.366 GB, free: 10.42 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002947/1.277, allocations: 0.9643 MB / 1.367 GB, free: 10 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004581/1.278, allocations: 122.3 kB / 1.368 GB, free: 10 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004226/1.282, allocations: 1.457 MB / 1.369 GB, free: 9.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001009/1.283, allocations: 0.5717 MB / 1.37 GB, free: 8.852 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001526/1.285, allocations: 0.721 MB / 1.37 GB, free: 8.391 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0052/1.29, allocations: 2.336 MB / 1.372 GB, free: 6.875 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.29, allocations: 0 / 1.372 GB, free: 6.875 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.875e-06/1.29, allocations: 0 / 1.372 GB, free: 6.875 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.362e-05/1.29, allocations: 0 / 1.372 GB, free: 6.875 MB / 1.045 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.003222/1.293, allocations: 1.616 MB / 1.374 GB, free: 5.672 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.293, allocations: 10.34 kB / 1.374 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/1.293, allocations: 166.9 kB / 1.374 GB, free: 5.539 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/1.296, allocations: 327.5 kB / 1.375 GB, free: 5.395 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/1.297, allocations: 0.909 MB / 1.375 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/1.297, allocations: 77.86 kB / 1.376 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/1.298, allocations: 103 kB / 1.376 GB, free: 4.637 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/1.3, allocations: 1.08 MB / 1.377 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/1.3, allocations: 0 / 1.377 GB, free: 4.035 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.712e-05/1.3, allocations: 42.44 kB / 1.377 GB, free: 4.004 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.307e-05/1.3, allocations: 35.75 kB / 1.377 GB, free: 4 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/1.301, allocations: 0.9993 MB / 1.378 GB, free: 3.516 MB / 1.045 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.006443/1.308, allocations: 4.215 MB / 1.382 GB, free: 136 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00088/1.309, allocations: 0.6005 MB / 1.382 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/1.309, allocations: 343.7 kB / 1.383 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/1.31, allocations: 106.9 kB / 1.383 GB, free: 15.53 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/1.31, allocations: 40.25 kB / 1.383 GB, free: 15.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=53): time 2.554e-06/1.31, allocations: 0 / 1.383 GB, free: 15.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=55): time 0.00446/1.314, allocations: 2.195 MB / 1.385 GB, free: 14.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/1.314, allocations: 60.62 kB / 1.385 GB, free: 13.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/1.315, allocations: 0.8869 MB / 1.386 GB, free: 13.46 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/1.315, allocations: 38.45 kB / 1.386 GB, free: 13.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/1.316, allocations: 0.5238 MB / 1.387 GB, free: 12.96 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/1.316, allocations: 190.3 kB / 1.387 GB, free: 12.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/1.316, allocations: 130.1 kB / 1.387 GB, free: 12.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.316, allocations: 337.7 kB / 1.387 GB, free: 12.39 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/1.317, allocations: 285.3 kB / 1.387 GB, free: 12.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005673/1.317, allocations: 434.1 kB / 1.388 GB, free: 11.95 MB / 1.061 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.003761/1.321, allocations: 1.748 MB / 1.39 GB, free: 10.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.321, allocations: 2.781 kB / 1.39 GB, free: 10.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001579/1.323, allocations: 0.9205 MB / 1.39 GB, free: 10.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.323, allocations: 11.69 kB / 1.39 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.323, allocations: 2.75 kB / 1.39 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/1.323, allocations: 98.89 kB / 1.391 GB, free: 10.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/1.324, allocations: 170.9 kB / 1.391 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003548/1.327, allocations: 4.635 MB / 1.395 GB, free: 5.758 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/1.328, allocations: 32.61 kB / 1.395 GB, free: 5.738 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/1.328, allocations: 24.75 kB / 1.395 GB, free: 5.734 MB / 1.061 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.0006085/1.329, allocations: 358 kB / 1.396 GB, free: 5.473 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002081/1.329, allocations: 101 kB / 1.396 GB, free: 5.422 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/1.329, allocations: 109.6 kB / 1.396 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/1.33, allocations: 4.875 kB / 1.396 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.33, allocations: 0 / 1.396 GB, free: 5.344 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/1.331, allocations: 0.761 MB / 1.397 GB, free: 4.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003411/1.334, allocations: 1.988 MB / 1.399 GB, free: 3.445 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/1.334, allocations: 2.688 kB / 1.399 GB, free: 3.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006539/1.335, allocations: 148.1 kB / 1.399 GB, free: 3.406 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/1.335, allocations: 40.98 kB / 1.399 GB, free: 3.383 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.327e-05/1.335, allocations: 21.61 kB / 1.399 GB, free: 3.371 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001242/1.336, allocations: 1.607 MB / 1.4 GB, free: 1.812 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/1.336, allocations: 3.031 kB / 1.4 GB, free: 1.812 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/1.338, allocations: 1.218 MB / 1.401 GB, free: 1.047 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/1.339, allocations: 250.6 kB / 1.402 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/1.339, allocations: 19.48 kB / 1.402 GB, free: 0.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000818/1.34, allocations: 26.83 kB / 1.402 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.34, allocations: 48.3 kB / 1.402 GB, free: 0.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.877e-05/1.34, allocations: 32 kB / 1.402 GB, free: 0.7812 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007926/1.341, allocations: 0.6175 MB / 1.402 GB, free: 448 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.3e-07/1.341, allocations: 0 / 1.402 GB, free: 448 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.001133/1.342, allocations: 301.8 kB / 1.403 GB, free: 428 kB / 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.002348/1.344, allocations: 1.841 MB / 1.405 GB, free: 15.09 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001605/1.346, allocations: 1.024 MB / 1.406 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.346, allocations: 0 / 1.406 GB, free: 14.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006317/1.347, allocations: 452.4 kB / 1.406 GB, free: 13.78 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.35, allocations: 0.6474 MB / 1.407 GB, free: 13.14 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/1.362, allocations: 7.933 MB / 1.414 GB, free: 4.895 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/1.363, allocations: 1.163 MB / 1.415 GB, free: 3.699 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001074/1.364, allocations: 260.4 kB / 1.416 GB, free: 3.441 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/1.364, allocations: 379.3 kB / 1.416 GB, free: 3.07 MB / 1.076 GB Notification: Performance of SimCode: time 9.92e-07/1.364, allocations: 4 kB / 1.416 GB, free: 3.066 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06663/1.431, allocations: 30.48 MB / 1.446 GB, free: 5.125 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.53, allocations: 6.688 kB / 1.446 GB, free: 5.121 MB / 1.107 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches