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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001092/0.001093, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008381/0.008382, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.318/1.318, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5801/0.5805, allocations: 142.4 MB / 0.9552 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.183/0.7635, allocations: 185.8 MB / 1.137 GB, free: 4.906 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008369/0.772, allocations: 5.713 MB / 1.142 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.7732, allocations: 31.75 kB / 1.142 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.7745, allocations: 0.4935 MB / 1.143 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.7777, allocations: 1.513 MB / 1.144 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.7802, allocations: 1.094 MB / 1.145 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003048/0.7833, allocations: 3.517 MB / 1.149 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.7843, allocations: 0.8524 MB / 1.149 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.7856, allocations: 0.879 MB / 1.15 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001445/0.7871, allocations: 0.842 MB / 1.151 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.626e-05/0.7872, allocations: 44 kB / 1.151 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.7897, allocations: 1.722 MB / 1.153 GB, free: 4.16 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003904/0.7901, allocations: 442.6 kB / 1.153 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005029/0.7906, allocations: 0.5808 MB / 1.154 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.7926, allocations: 2.157 MB / 1.156 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7926, allocations: 0 / 1.156 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7926, allocations: 4 kB / 1.156 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.7926, allocations: 0 / 1.156 GB, free: 0.9688 MB / 0.9044 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.00194/0.7946, allocations: 1.301 MB / 1.157 GB, free: 15.61 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.7946, allocations: 8.031 kB / 1.157 GB, free: 15.61 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.7948, allocations: 143.3 kB / 1.157 GB, free: 15.46 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002836/0.7976, allocations: 494.1 kB / 1.158 GB, free: 14.97 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.7989, allocations: 0.8201 MB / 1.159 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/0.7992, allocations: 129.9 kB / 1.159 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.7994, allocations: 91.92 kB / 1.159 GB, free: 13.89 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.8014, allocations: 1.206 MB / 1.16 GB, free: 12.66 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.8015, allocations: 0 / 1.16 GB, free: 12.66 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.653e-05/0.8016, allocations: 39.98 kB / 1.16 GB, free: 12.62 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.8016, allocations: 34 kB / 1.16 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.8039, allocations: 1.109 MB / 1.161 GB, free: 11.48 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.006131/0.81, allocations: 4.385 MB / 1.166 GB, free: 6.832 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.812, allocations: 0.7969 MB / 1.166 GB, free: 6.027 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009476/0.813, allocations: 424.6 kB / 1.167 GB, free: 5.609 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.8132, allocations: 101.1 kB / 1.167 GB, free: 5.492 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.8132, allocations: 42.55 kB / 1.167 GB, free: 5.441 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 1.403e-06/0.8132, allocations: 4 kB / 1.167 GB, free: 5.438 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.005584/0.8188, allocations: 2.295 MB / 1.169 GB, free: 3.086 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.8188, allocations: 55.41 kB / 1.169 GB, free: 3.02 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009612/0.8198, allocations: 0.8647 MB / 1.17 GB, free: 2.148 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.183e-05/0.8199, allocations: 37.7 kB / 1.17 GB, free: 2.105 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.8202, allocations: 499.2 kB / 1.17 GB, free: 1.609 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.8204, allocations: 157.6 kB / 1.171 GB, free: 1.453 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.74e-05/0.8205, allocations: 57.69 kB / 1.171 GB, free: 1.391 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8206, allocations: 334 kB / 1.171 GB, free: 1.059 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009584/0.8216, allocations: 385 kB / 1.171 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.8226, allocations: 0.5209 MB / 1.172 GB, free: 112 kB / 0.92 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.006065/0.8287, allocations: 2.387 MB / 1.174 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.8287, allocations: 0 / 1.174 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002192/0.8309, allocations: 1.037 MB / 1.175 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8309, allocations: 13.81 kB / 1.175 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.8309, allocations: 7.938 kB / 1.175 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.831, allocations: 4 kB / 1.175 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/0.8319, allocations: 211.8 kB / 1.175 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.8319, allocations: 15.92 kB / 1.175 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.8329, allocations: 111.8 kB / 1.176 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.833, allocations: 24 kB / 1.176 GB, free: 12.23 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 sytem: 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.0003821/0.8334, allocations: 309.6 kB / 1.176 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.8335, allocations: 98.86 kB / 1.176 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.8337, allocations: 108.7 kB / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.8337, allocations: 4 kB / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8337, allocations: 4 kB / 1.176 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001947/0.8357, allocations: 1.069 MB / 1.177 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.8399, allocations: 2.207 MB / 1.179 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.84, allocations: 4 kB / 1.179 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000861/0.8408, allocations: 192.2 kB / 1.179 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.8408, allocations: 7.984 kB / 1.179 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.8409, allocations: 16 kB / 1.18 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.8409, allocations: 15.86 kB / 1.18 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.8409, allocations: 4 kB / 1.18 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.8439, allocations: 1.472 MB / 1.181 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.8442, allocations: 256 kB / 1.181 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.8443, allocations: 19.98 kB / 1.181 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009557/0.8453, allocations: 107.7 kB / 1.181 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.8454, allocations: 39.89 kB / 1.181 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/0.8455, allocations: 27.98 kB / 1.181 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006611/0.8461, allocations: 0.6005 MB / 1.182 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8461, allocations: 0 / 1.182 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007255/0.8469, allocations: 264 kB / 1.182 GB, free: 5.168 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.003537/0.8504, allocations: 2.151 MB / 1.184 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001997/0.8524, allocations: 0.8431 MB / 1.185 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.8524, allocations: 7.938 kB / 1.185 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009368/0.8534, allocations: 416.6 kB / 1.186 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/0.8561, allocations: 0.5468 MB / 1.186 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.8703, allocations: 9.094 MB / 1.195 GB, free: 7.703 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006163/0.8709, allocations: 1.11 MB / 1.196 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008917/0.8718, allocations: 263.8 kB / 1.196 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000506/0.8723, allocations: 349.2 kB / 1.197 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of SimCode: time 2.485e-06/0.8723, allocations: 0 / 1.197 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3063/1.179, allocations: 27.39 MB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003921/1.179, allocations: 305.3 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/4.253, allocations: 4.062 kB / 1.224 GB, free: 10.69 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