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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008527/0.000853, allocations: 90.52 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.006039/0.006039, allocations: 174.1 kB / 16.26 MB, free: 6.613 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.507/2.507, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.0002788, allocations: 10.06 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2306, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1707/0.4013, allocations: 185.8 MB / 1.24 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008138/0.4095, allocations: 5.719 MB / 1.246 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.4106, allocations: 31.75 kB / 1.246 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.4119, allocations: 0.5014 MB / 1.246 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00348/0.4154, allocations: 1.516 MB / 1.248 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.4181, allocations: 1.088 MB / 1.249 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.4695/0.8876, allocations: 3.52 MB / 1.252 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.8886, allocations: 0.8555 MB / 1.253 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.89, allocations: 0.8783 MB / 1.254 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.8913, allocations: 0.8362 MB / 1.255 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.175e-05/0.8914, allocations: 45.95 kB / 1.255 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.8936, allocations: 1.723 MB / 1.257 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000403/0.894, allocations: 436.3 kB / 1.257 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004825/0.8945, allocations: 0.5817 MB / 1.257 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.8967, allocations: 2.164 MB / 1.26 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.8967, allocations: 0 / 1.26 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8967, allocations: 2.906 kB / 1.26 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.8967, allocations: 0 / 1.26 GB, free: 4.398 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.001868/0.8986, allocations: 1.295 MB / 1.261 GB, free: 19.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.8986, allocations: 9.125 kB / 1.261 GB, free: 19.64 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001572/0.8988, allocations: 140.7 kB / 1.261 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002717/0.9015, allocations: 0.4917 MB / 1.261 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.9026, allocations: 0.8123 MB / 1.262 GB, free: 19.2 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000321/0.903, allocations: 141 kB / 1.262 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.9031, allocations: 88.89 kB / 1.263 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.905, allocations: 1.199 MB / 1.264 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.9051, allocations: 2.906 kB / 1.264 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/0.9052, allocations: 36.41 kB / 1.264 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.9052, allocations: 35.16 kB / 1.264 GB, free: 19.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002327/0.9076, allocations: 1.111 MB / 1.265 GB, free: 19.04 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.006532/0.9141, allocations: 4.362 MB / 1.269 GB, free: 17.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.9161, allocations: 0.7997 MB / 1.27 GB, free: 17.19 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009556/0.9171, allocations: 424.1 kB / 1.27 GB, free: 17.17 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.9173, allocations: 99.77 kB / 1.27 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.9173, allocations: 39.08 kB / 1.27 GB, free: 17.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=43): time 2.054e-06/0.9173, allocations: 1 kB / 1.27 GB, free: 17.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.00597/0.9233, allocations: 2.301 MB / 1.273 GB, free: 16.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.9233, allocations: 56.36 kB / 1.273 GB, free: 16.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009641/0.9243, allocations: 0.8644 MB / 1.274 GB, free: 16.33 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.9244, allocations: 36.3 kB / 1.274 GB, free: 16.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.9246, allocations: 493.4 kB / 1.274 GB, free: 16.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.9248, allocations: 170 kB / 1.274 GB, free: 15.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/0.9249, allocations: 57.5 kB / 1.274 GB, free: 15.96 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.925, allocations: 328.3 kB / 1.275 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009228/0.9259, allocations: 391.6 kB / 1.275 GB, free: 15.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009924/0.9269, allocations: 0.5229 MB / 1.275 GB, free: 15.5 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.005899/0.9328, allocations: 2.378 MB / 1.278 GB, free: 15.17 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.9328, allocations: 6.062 kB / 1.278 GB, free: 15.17 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002146/0.935, allocations: 1.028 MB / 1.279 GB, free: 15.06 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.935, allocations: 15.64 kB / 1.279 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.935, allocations: 3.125 kB / 1.279 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.935, allocations: 6.688 kB / 1.279 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/0.9359, allocations: 212.9 kB / 1.279 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.936, allocations: 12.11 kB / 1.279 GB, free: 15.05 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009934/0.937, allocations: 109.3 kB / 1.279 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.937, allocations: 25.69 kB / 1.279 GB, free: 15.04 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 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.0003902/0.9374, allocations: 312.5 kB / 1.279 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.9376, allocations: 105.6 kB / 1.28 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001932/0.9378, allocations: 105.3 kB / 1.28 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.9378, allocations: 4.906 kB / 1.28 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.9378, allocations: 0 / 1.28 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001887/0.9397, allocations: 1.07 MB / 1.281 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/0.9437, allocations: 2.204 MB / 1.283 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.9437, allocations: 3.156 kB / 1.283 GB, free: 13.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008258/0.9446, allocations: 188.6 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.9446, allocations: 4.5 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/0.9446, allocations: 17.81 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.9447, allocations: 14.58 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.9447, allocations: 3.938 kB / 1.283 GB, free: 13.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.9475, allocations: 1.497 MB / 1.285 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.9478, allocations: 249.8 kB / 1.285 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.9479, allocations: 21.3 kB / 1.285 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/0.9488, allocations: 107 kB / 1.285 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.9489, allocations: 32.72 kB / 1.285 GB, free: 13.44 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/0.949, allocations: 29.91 kB / 1.285 GB, free: 13.44 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0006106/0.9496, allocations: 0.6023 MB / 1.286 GB, free: 13.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9496, allocations: 0 / 1.286 GB, free: 13.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007537/0.9504, allocations: 275 kB / 1.286 GB, free: 13.33 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.003288/0.9537, allocations: 2.141 MB / 1.288 GB, free: 12.45 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.9555, allocations: 0.8532 MB / 1.289 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9555, allocations: 1.062 kB / 1.289 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008857/0.9564, allocations: 418.2 kB / 1.289 GB, free: 12.41 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/0.9591, allocations: 0.5575 MB / 1.29 GB, free: 12.37 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.972, allocations: 9.077 MB / 1.299 GB, free: 9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.9726, allocations: 1.113 MB / 1.3 GB, free: 8.281 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008354/0.9734, allocations: 260.4 kB / 1.3 GB, free: 8.219 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004191/0.9738, allocations: 356.2 kB / 1.3 GB, free: 8.211 MB / 1.014 GB Notification: Performance of SimCode: time 3.31e-07/0.9738, allocations: 0 / 1.3 GB, free: 8.211 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.451/3.425, allocations: 27.39 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/3.426, allocations: 308.8 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/6.341, allocations: 6.5 kB / 1.327 GB, free: 0.6211 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