Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.001441/0.001441, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001641/0.001641, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.272/1.272, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 65.55 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2772, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1891/0.4664, allocations: 188 MB / 1.236 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009398/0.4758, allocations: 5.674 MB / 1.242 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001571/0.4774, allocations: 35.75 kB / 1.242 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.4792, allocations: 0.5169 MB / 1.242 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004236/0.4835, allocations: 1.517 MB / 1.244 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00312/0.4866, allocations: 1.094 MB / 1.245 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003888/0.4905, allocations: 2.561 MB / 1.247 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.667/1.158, allocations: 1.003 MB / 1.248 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/1.16, allocations: 1.04 MB / 1.249 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/1.162, allocations: 0.9141 MB / 1.25 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002179/1.162, allocations: 109.7 kB / 1.25 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002704/1.165, allocations: 1.619 MB / 1.252 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004645/1.165, allocations: 0.5008 MB / 1.252 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006605/1.166, allocations: 0.6442 MB / 1.253 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002891/1.169, allocations: 2.246 MB / 1.255 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.169, allocations: 0.6094 kB / 1.255 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/1.169, allocations: 3.906 kB / 1.255 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.613e-05/1.169, allocations: 0 / 1.255 GB, free: 4.484 MB / 0.9981 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.002544/1.171, allocations: 1.525 MB / 1.257 GB, free: 19.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/1.172, allocations: 11.91 kB / 1.257 GB, free: 19.7 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001772/1.172, allocations: 138.2 kB / 1.257 GB, free: 19.66 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002928/1.175, allocations: 471.8 kB / 1.257 GB, free: 19.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/1.176, allocations: 0.8207 MB / 1.258 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003178/1.176, allocations: 123 kB / 1.258 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/1.176, allocations: 82.58 kB / 1.258 GB, free: 19.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/1.179, allocations: 1.186 MB / 1.259 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/1.179, allocations: 0 / 1.259 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.494e-05/1.179, allocations: 39.22 kB / 1.259 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/1.179, allocations: 36.5 kB / 1.259 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/1.181, allocations: 1.079 MB / 1.26 GB, free: 19.17 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.007156/1.188, allocations: 4.331 MB / 1.265 GB, free: 17.4 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/1.19, allocations: 0.7645 MB / 1.265 GB, free: 17.37 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009773/1.191, allocations: 402.4 kB / 1.266 GB, free: 17.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/1.191, allocations: 105.9 kB / 1.266 GB, free: 17.27 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/1.192, allocations: 40.97 kB / 1.266 GB, free: 17.23 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 3.016e-06/1.192, allocations: 0 / 1.266 GB, free: 17.23 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.006067/1.198, allocations: 2.21 MB / 1.268 GB, free: 16.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/1.198, allocations: 56.22 kB / 1.268 GB, free: 16.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/1.199, allocations: 0.8635 MB / 1.269 GB, free: 16.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.902e-05/1.199, allocations: 38.02 kB / 1.269 GB, free: 16.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/1.2, allocations: 491.9 kB / 1.269 GB, free: 16.33 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/1.2, allocations: 159.4 kB / 1.27 GB, free: 16.23 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/1.2, allocations: 123.1 kB / 1.27 GB, free: 16.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.2, allocations: 332.4 kB / 1.27 GB, free: 15.91 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/1.201, allocations: 373.8 kB / 1.27 GB, free: 15.91 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/1.203, allocations: 0.506 MB / 1.271 GB, free: 15.77 MB / 1.014 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.006202/1.209, allocations: 2.288 MB / 1.273 GB, free: 15.53 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/1.209, allocations: 3.188 kB / 1.273 GB, free: 15.53 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00237/1.211, allocations: 0.9956 MB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.211, allocations: 6.516 kB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/1.211, allocations: 11.12 kB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/1.211, allocations: 6.469 kB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/1.212, allocations: 191.9 kB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/1.212, allocations: 9.234 kB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/1.213, allocations: 105.8 kB / 1.274 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-05/1.214, allocations: 27.72 kB / 1.274 GB, free: 15.43 MB / 1.014 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.000573/1.214, allocations: 316.5 kB / 1.275 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002019/1.214, allocations: 93.08 kB / 1.275 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/1.215, allocations: 107.9 kB / 1.275 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/1.215, allocations: 7.781 kB / 1.275 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.215, allocations: 1.375 kB / 1.275 GB, free: 15.25 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001903/1.217, allocations: 1.037 MB / 1.276 GB, free: 14.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004703/1.221, allocations: 2.148 MB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/1.221, allocations: 4.75 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008651/1.222, allocations: 169.3 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/1.222, allocations: 4.594 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/1.222, allocations: 17.47 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.222, allocations: 14.25 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.222, allocations: 5.812 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/1.225, allocations: 1.431 MB / 1.28 GB, free: 14.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005233/1.226, allocations: 253.8 kB / 1.28 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/1.226, allocations: 14.5 kB / 1.28 GB, free: 13.95 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.227, allocations: 102.5 kB / 1.28 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/1.227, allocations: 38.17 kB / 1.28 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-05/1.227, allocations: 29.7 kB / 1.28 GB, free: 13.94 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008764/1.228, allocations: 0.603 MB / 1.281 GB, free: 13.85 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.1e-07/1.228, allocations: 0 / 1.281 GB, free: 13.85 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001066/1.229, allocations: 271.2 kB / 1.281 GB, free: 13.84 MB / 1.014 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.003653/1.233, allocations: 2.091 MB / 1.283 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002168/1.235, allocations: 0.8819 MB / 1.284 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.235, allocations: 1.188 kB / 1.284 GB, free: 12.95 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008961/1.236, allocations: 402.4 kB / 1.284 GB, free: 12.94 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/1.239, allocations: 0.5827 MB / 1.285 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/1.254, allocations: 8.892 MB / 1.293 GB, free: 9.527 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007405/1.255, allocations: 1.108 MB / 1.295 GB, free: 8.816 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001186/1.256, allocations: 261.6 kB / 1.295 GB, free: 8.758 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/1.257, allocations: 352.4 kB / 1.295 GB, free: 8.75 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/1.257, allocations: 0 / 1.295 GB, free: 8.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.49/2.747, allocations: 28.29 MB / 1.323 GB, free: 2.902 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/2.747, allocations: 309.6 kB / 1.323 GB, free: 2.523 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/4.99, allocations: 0 / 1.323 GB, free: 2.523 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches