Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.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.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",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.001639/0.001639, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.434 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.325/2.325, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 67.89 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.537/0.5384, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1827/0.7211, allocations: 190.5 MB / 1.136 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008151/0.7293, allocations: 5.705 MB / 1.141 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007773/0.7301, allocations: 43.75 kB / 1.141 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.7314, allocations: 0.5708 MB / 1.142 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.7346, allocations: 1.61 MB / 1.143 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.7372, allocations: 1.202 MB / 1.145 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002467/0.7397, allocations: 2.546 MB / 1.147 GB, free: 6.965 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.7408, allocations: 1.036 MB / 1.148 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.7423, allocations: 1.043 MB / 1.149 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.7437, allocations: 0.8462 MB / 1.15 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.7439, allocations: 108 kB / 1.15 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002504/0.7464, allocations: 1.555 MB / 1.152 GB, free: 2.355 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.7469, allocations: 0.4948 MB / 1.152 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006258/0.7475, allocations: 0.6494 MB / 1.153 GB, free: 1.207 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.75, allocations: 2.158 MB / 1.155 GB, free: 15.04 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.75, allocations: 4 kB / 1.155 GB, free: 15.04 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.434e-06/0.75, allocations: 0 / 1.155 GB, free: 15.04 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.7501, allocations: 3.938 kB / 1.155 GB, free: 15.04 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002205/0.7523, allocations: 1.515 MB / 1.156 GB, free: 13.47 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.7523, allocations: 8.031 kB / 1.156 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.7525, allocations: 143.3 kB / 1.156 GB, free: 13.31 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/0.7555, allocations: 470.1 kB / 1.157 GB, free: 12.85 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.7569, allocations: 0.8201 MB / 1.158 GB, free: 11.99 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003697/0.7573, allocations: 117.9 kB / 1.158 GB, free: 11.87 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.7574, allocations: 87.94 kB / 1.158 GB, free: 11.79 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.7596, allocations: 1.19 MB / 1.159 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/0.7596, allocations: 4 kB / 1.159 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.841e-05/0.7597, allocations: 36 kB / 1.159 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/0.7598, allocations: 37.98 kB / 1.159 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002385/0.7622, allocations: 1.073 MB / 1.16 GB, free: 9.422 MB / 0.92 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.006692/0.7689, allocations: 4.373 MB / 1.164 GB, free: 4.781 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.771, allocations: 0.7653 MB / 1.165 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.772, allocations: 400.6 kB / 1.166 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.7722, allocations: 105.1 kB / 1.166 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.7722, allocations: 42.56 kB / 1.166 GB, free: 3.441 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 1.834e-06/0.7722, allocations: 0 / 1.166 GB, free: 3.441 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.00593/0.7782, allocations: 2.209 MB / 1.168 GB, free: 1.176 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.7782, allocations: 59.34 kB / 1.168 GB, free: 1.105 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009413/0.7791, allocations: 0.8647 MB / 1.169 GB, free: 240 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.7792, allocations: 37.7 kB / 1.169 GB, free: 196 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.7795, allocations: 491.3 kB / 1.169 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.7797, allocations: 165.7 kB / 1.169 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002044/0.7799, allocations: 126.1 kB / 1.17 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.78, allocations: 334 kB / 1.17 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.781, allocations: 369 kB / 1.17 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.7821, allocations: 0.5052 MB / 1.171 GB, free: 14.16 MB / 0.9356 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.006428/0.7886, allocations: 2.297 MB / 1.173 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7886, allocations: 0 / 1.173 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002366/0.791, allocations: 0.986 MB / 1.174 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.791, allocations: 12.11 kB / 1.174 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.791, allocations: 8 kB / 1.174 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.791, allocations: 11.88 kB / 1.174 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009888/0.792, allocations: 191.7 kB / 1.174 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.792, allocations: 11.98 kB / 1.174 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.7931, allocations: 71.78 kB / 1.174 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.7931, allocations: 27.98 kB / 1.174 GB, free: 10.47 MB / 0.9356 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 (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004161/0.7935, allocations: 309.5 kB / 1.175 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.7937, allocations: 90.97 kB / 1.175 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.7939, allocations: 112.7 kB / 1.175 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.7939, allocations: 7.984 kB / 1.175 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7939, allocations: 4 kB / 1.175 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002085/0.796, allocations: 1.034 MB / 1.176 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004552/0.8006, allocations: 2.148 MB / 1.178 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.8006, allocations: 7.984 kB / 1.178 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009017/0.8015, allocations: 168.1 kB / 1.178 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/0.8016, allocations: 4 kB / 1.178 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.8016, allocations: 27.92 kB / 1.178 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.8016, allocations: 11.94 kB / 1.178 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.8016, allocations: 11.92 kB / 1.178 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.8048, allocations: 1.425 MB / 1.179 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000366/0.8052, allocations: 255.9 kB / 1.18 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.8053, allocations: 12 kB / 1.18 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009603/0.8063, allocations: 73.83 kB / 1.18 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.8064, allocations: 35.95 kB / 1.18 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/0.8064, allocations: 31.92 kB / 1.18 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000711/0.8072, allocations: 0.6005 MB / 1.18 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8072, allocations: 4 kB / 1.18 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000823/0.808, allocations: 264 kB / 1.181 GB, free: 3.598 MB / 0.9356 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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003828/0.8118, allocations: 2.082 MB / 1.183 GB, free: 1.465 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002285/0.8141, allocations: 0.8852 MB / 1.184 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.8141, allocations: 4.75 kB / 1.184 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.8152, allocations: 400.3 kB / 1.184 GB, free: 188 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.8177, allocations: 0.5688 MB / 1.185 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/0.8323, allocations: 8.569 MB / 1.193 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006484/0.833, allocations: 1.11 MB / 1.194 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001014/0.834, allocations: 255.8 kB / 1.194 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005323/0.8346, allocations: 347.3 kB / 1.195 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of SimCode: time 1.924e-06/0.8346, allocations: 4 kB / 1.195 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4128/1.247, allocations: 28.56 MB / 1.222 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.609/9.857, allocations: 3.375 kB / 1.222 GB, free: 8.879 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches