Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_10_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.001071/0.001071, allocations: 90.67 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.008272/0.008272, allocations: 172.6 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003159, allocations: 8 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5258, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.1625/0.6884, allocations: 185.8 MB / 1.205 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007674/0.6961, allocations: 5.706 MB / 1.21 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006249/0.6967, allocations: 31.75 kB / 1.21 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.6978, allocations: 0.4896 MB / 1.211 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002888/0.7007, allocations: 1.521 MB / 1.212 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.703, allocations: 1.091 MB / 1.213 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002875/0.7059, allocations: 3.54 MB / 1.217 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009077/0.7068, allocations: 0.8563 MB / 1.217 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.7079, allocations: 0.8712 MB / 1.218 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.7093, allocations: 0.8295 MB / 1.219 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/0.7094, allocations: 44 kB / 1.219 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.7118, allocations: 1.722 MB / 1.221 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003745/0.7122, allocations: 442.7 kB / 1.221 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004909/0.7127, allocations: 0.5809 MB / 1.222 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.7146, allocations: 2.165 MB / 1.224 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7146, allocations: 0 / 1.224 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7146, allocations: 0 / 1.224 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.7146, allocations: 0 / 1.224 GB, free: 1.449 MB / 0.9669 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.001873/0.7165, allocations: 1.293 MB / 1.225 GB, free: 104 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.7166, allocations: 8.031 kB / 1.225 GB, free: 96 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001631/0.7167, allocations: 135.3 kB / 1.225 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002766/0.7195, allocations: 0.4943 MB / 1.226 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.7207, allocations: 0.8162 MB / 1.227 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003321/0.7211, allocations: 133.9 kB / 1.227 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.7212, allocations: 91.94 kB / 1.227 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.7232, allocations: 1.202 MB / 1.228 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.7232, allocations: 4 kB / 1.228 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.7233, allocations: 36 kB / 1.228 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.135e-05/0.7234, allocations: 37.98 kB / 1.228 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.7256, allocations: 1.116 MB / 1.229 GB, free: 11.96 MB / 0.9825 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.005898/0.7315, allocations: 4.374 MB / 1.233 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.7334, allocations: 0.8029 MB / 1.234 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009005/0.7343, allocations: 422.2 kB / 1.235 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.7345, allocations: 101.1 kB / 1.235 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.7345, allocations: 42.56 kB / 1.235 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/0.7345, allocations: 4 kB / 1.235 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=45): time 0.005275/0.7398, allocations: 2.281 MB / 1.237 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.7398, allocations: 63.33 kB / 1.237 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008716/0.7407, allocations: 0.8724 MB / 1.238 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.427e-05/0.7408, allocations: 33.7 kB / 1.238 GB, free: 2.598 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.7411, allocations: 495.3 kB / 1.238 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.7412, allocations: 173.6 kB / 1.239 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.7413, allocations: 53.69 kB / 1.239 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.7414, allocations: 330 kB / 1.239 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009188/0.7423, allocations: 393 kB / 1.239 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009912/0.7433, allocations: 0.5209 MB / 1.24 GB, free: 0.5898 MB / 0.9825 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.005822/0.7491, allocations: 2.383 MB / 1.242 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7491, allocations: 0 / 1.242 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002157/0.7513, allocations: 1.033 MB / 1.243 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.7513, allocations: 8 kB / 1.243 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.7513, allocations: 7.938 kB / 1.243 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.7514, allocations: 7.984 kB / 1.243 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008925/0.7523, allocations: 207.9 kB / 1.243 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.7523, allocations: 11.98 kB / 1.243 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009783/0.7533, allocations: 115.7 kB / 1.244 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.7533, allocations: 24 kB / 1.244 GB, free: 12.72 MB / 0.9981 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.000358/0.7537, allocations: 309.6 kB / 1.244 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.7538, allocations: 90.97 kB / 1.244 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.754, allocations: 108.7 kB / 1.244 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.754, allocations: 8 kB / 1.244 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.754, allocations: 0 / 1.244 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001867/0.7559, allocations: 1.069 MB / 1.245 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.76, allocations: 2.214 MB / 1.247 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.76, allocations: 4 kB / 1.247 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000819/0.7608, allocations: 184.2 kB / 1.247 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.7608, allocations: 8 kB / 1.247 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.7609, allocations: 12 kB / 1.247 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.7609, allocations: 15.86 kB / 1.247 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7609, allocations: 7.938 kB / 1.247 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.7638, allocations: 1.488 MB / 1.249 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003146/0.7641, allocations: 255.9 kB / 1.249 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.7642, allocations: 15.98 kB / 1.249 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009193/0.7651, allocations: 108.8 kB / 1.249 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.7652, allocations: 35.89 kB / 1.249 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/0.7653, allocations: 27.98 kB / 1.249 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006255/0.7659, allocations: 0.6005 MB / 1.25 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7659, allocations: 4 kB / 1.25 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007034/0.7666, allocations: 268 kB / 1.25 GB, free: 5.648 MB / 0.9981 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.003363/0.77, allocations: 2.135 MB / 1.252 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001934/0.7719, allocations: 0.8501 MB / 1.253 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.772, allocations: 4 kB / 1.253 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009118/0.7729, allocations: 413 kB / 1.254 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00268/0.7756, allocations: 0.557 MB / 1.254 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.39/1.166, allocations: 9.062 MB / 1.263 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/1.166, allocations: 1.111 MB / 1.264 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001016/1.167, allocations: 259.2 kB / 1.264 GB, free: 227.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004628/1.168, allocations: 354.8 kB / 1.265 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.168, allocations: 0 / 1.265 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.499/2.667, allocations: 27.4 MB / 1.291 GB, free: 215 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/2.667, allocations: 305.3 kB / 1.292 GB, free: 214.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/5.399, allocations: 0 / 1.292 GB, free: 214.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches