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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004616/0.004616, allocations: 100.3 kB / 15.73 MB, free: 6.02 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.001333/0.001333, allocations: 191.9 kB / 16.67 MB, free: 5.938 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.465/2.465, allocations: 482.6 MB / 0.7551 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 65.08 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2759, allocations: 162.3 MB / 1.242 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1944/0.4703, allocations: 190.5 MB / 1.428 GB, free: 9.586 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.008555/0.4789, allocations: 5.706 MB / 1.434 GB, free: 3.871 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.48, allocations: 47.75 kB / 1.434 GB, free: 3.824 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.4813, allocations: 0.563 MB / 1.434 GB, free: 3.258 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.4847, allocations: 1.618 MB / 1.436 GB, free: 1.633 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.4874, allocations: 1.202 MB / 1.437 GB, free: 448 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002779/0.4902, allocations: 2.552 MB / 1.439 GB, free: 13.88 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.4914, allocations: 1.043 MB / 1.44 GB, free: 12.81 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.4932, allocations: 1.21 MB / 1.442 GB, free: 11.6 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.4947, allocations: 0.8421 MB / 1.442 GB, free: 10.76 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.4948, allocations: 108 kB / 1.443 GB, free: 10.65 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.4973, allocations: 1.547 MB / 1.444 GB, free: 9.102 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004831/0.4978, allocations: 0.4909 MB / 1.445 GB, free: 8.609 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006457/0.4984, allocations: 0.6416 MB / 1.445 GB, free: 7.961 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.5009, allocations: 2.188 MB / 1.447 GB, free: 5.766 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.501, allocations: 0 / 1.447 GB, free: 5.766 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.233e-06/0.501, allocations: 0 / 1.447 GB, free: 5.766 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.479e-05/0.501, allocations: 0 / 1.447 GB, free: 5.766 MB / 1.17 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.002238/0.5032, allocations: 1.556 MB / 1.449 GB, free: 4.152 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.5033, allocations: 8.031 kB / 1.449 GB, free: 4.145 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/0.5034, allocations: 143.3 kB / 1.449 GB, free: 3.996 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.5061, allocations: 478.8 kB / 1.449 GB, free: 3.527 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/0.5075, allocations: 0.8671 MB / 1.45 GB, free: 2.621 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.468e-05/0.5076, allocations: 65.98 kB / 1.45 GB, free: 2.559 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.5077, allocations: 84 kB / 1.45 GB, free: 2.477 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.5098, allocations: 1.175 MB / 1.452 GB, free: 1.277 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.5098, allocations: 4 kB / 1.452 GB, free: 1.273 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.5099, allocations: 36 kB / 1.452 GB, free: 1.238 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-05/0.51, allocations: 34 kB / 1.452 GB, free: 1.207 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.5123, allocations: 1.066 MB / 1.453 GB, free: 140 kB / 1.17 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.006438/0.5187, allocations: 4.479 MB / 1.457 GB, free: 11.36 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.5206, allocations: 0.7448 MB / 1.458 GB, free: 10.61 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009146/0.5215, allocations: 398.6 kB / 1.458 GB, free: 10.22 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.5217, allocations: 109.1 kB / 1.458 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.5218, allocations: 38.56 kB / 1.458 GB, free: 10.05 MB / 1.186 GB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.5218, allocations: 0 / 1.458 GB, free: 10.05 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.00538/0.5272, allocations: 2.201 MB / 1.46 GB, free: 7.797 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.5272, allocations: 59.39 kB / 1.46 GB, free: 7.727 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5282, allocations: 0.8686 MB / 1.461 GB, free: 6.852 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.5283, allocations: 37.7 kB / 1.461 GB, free: 6.809 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.5287, allocations: 0.4884 MB / 1.462 GB, free: 6.312 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.5288, allocations: 174.5 kB / 1.462 GB, free: 6.141 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.529, allocations: 126.2 kB / 1.462 GB, free: 6.012 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5292, allocations: 330 kB / 1.462 GB, free: 5.684 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009273/0.5301, allocations: 369 kB / 1.463 GB, free: 5.324 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.5312, allocations: 0.5013 MB / 1.463 GB, free: 4.77 MB / 1.186 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.005946/0.5371, allocations: 2.262 MB / 1.465 GB, free: 2.441 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5372, allocations: 8 kB / 1.465 GB, free: 2.434 MB / 1.186 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002183/0.5393, allocations: 0.9864 MB / 1.466 GB, free: 1.441 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.5394, allocations: 8 kB / 1.466 GB, free: 1.434 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5394, allocations: 7.938 kB / 1.466 GB, free: 1.426 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.5394, allocations: 12.06 kB / 1.466 GB, free: 1.414 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.5403, allocations: 187.7 kB / 1.467 GB, free: 1.23 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.5403, allocations: 19.92 kB / 1.467 GB, free: 1.211 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008181/0.5411, allocations: 63.92 kB / 1.467 GB, free: 1.148 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.5412, allocations: 28 kB / 1.467 GB, free: 1.121 MB / 1.186 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.0003887/0.5416, allocations: 309.6 kB / 1.467 GB, free: 0.8086 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.5418, allocations: 99.39 kB / 1.467 GB, free: 0.7109 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.542, allocations: 108.7 kB / 1.467 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.542, allocations: 4 kB / 1.467 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.542, allocations: 3.984 kB / 1.467 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001935/0.5439, allocations: 1.022 MB / 1.468 GB, free: 15.48 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00428/0.5482, allocations: 2.145 MB / 1.47 GB, free: 13.24 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5482, allocations: 8.062 kB / 1.47 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000811/0.5491, allocations: 163.8 kB / 1.471 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.5491, allocations: 4 kB / 1.471 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/0.5491, allocations: 12 kB / 1.471 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.849e-05/0.5492, allocations: 23.8 kB / 1.471 GB, free: 13.04 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5492, allocations: 4 kB / 1.471 GB, free: 13.03 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/0.5522, allocations: 1.419 MB / 1.472 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003555/0.5525, allocations: 256.4 kB / 1.472 GB, free: 11.28 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.5527, allocations: 19.98 kB / 1.472 GB, free: 11.26 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008184/0.5535, allocations: 67.88 kB / 1.472 GB, free: 11.2 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.5536, allocations: 39.98 kB / 1.472 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.5536, allocations: 31.97 kB / 1.472 GB, free: 11.12 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007248/0.5544, allocations: 0.6005 MB / 1.473 GB, free: 10.53 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5544, allocations: 4 kB / 1.473 GB, free: 10.52 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007244/0.5551, allocations: 271.9 kB / 1.473 GB, free: 10.26 MB / 1.201 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.003663/0.5588, allocations: 2.071 MB / 1.475 GB, free: 8.121 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002002/0.5608, allocations: 0.8161 MB / 1.476 GB, free: 7.309 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5608, allocations: 4 kB / 1.476 GB, free: 7.305 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000923/0.5617, allocations: 392.6 kB / 1.476 GB, free: 6.922 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.564, allocations: 0.5708 MB / 1.477 GB, free: 6.359 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01366/0.5777, allocations: 8.213 MB / 1.485 GB, free: 13.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007569/0.5785, allocations: 1.11 MB / 1.486 GB, free: 12.7 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007561/0.5793, allocations: 263.8 kB / 1.486 GB, free: 12.44 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005261/0.5798, allocations: 355.3 kB / 1.487 GB, free: 12.09 MB / 1.217 GB Notification: Performance of SimCode: time 3.71e-07/0.5798, allocations: 0 / 1.487 GB, free: 12.09 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.755/2.335, allocations: 28.71 MB / 1.515 GB, free: 15.85 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/13.93, allocations: 15.23 kB / 1.515 GB, free: 15.84 MB / 1.248 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=400 --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