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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.004078/0.004078, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.00106/0.00106, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7018/0.7031, allocations: 140.4 MB / 1.088 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2076/0.9108, allocations: 190.5 MB / 1.274 GB, free: 15.23 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008817/0.9196, allocations: 5.707 MB / 1.279 GB, free: 9.512 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.9207, allocations: 39.75 kB / 1.279 GB, free: 9.473 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.922, allocations: 0.5669 MB / 1.28 GB, free: 8.902 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.9256, allocations: 1.618 MB / 1.281 GB, free: 7.277 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002839/0.9285, allocations: 1.206 MB / 1.282 GB, free: 6.078 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002803/0.9313, allocations: 2.569 MB / 1.285 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.9325, allocations: 1.036 MB / 1.286 GB, free: 2.453 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.9341, allocations: 1.043 MB / 1.287 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.9356, allocations: 0.856 MB / 1.288 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.9358, allocations: 108 kB / 1.288 GB, free: 460 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.9387, allocations: 1.551 MB / 1.289 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004743/0.9391, allocations: 0.491 MB / 1.29 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006516/0.9398, allocations: 0.6455 MB / 1.291 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002671/0.9425, allocations: 2.177 MB / 1.293 GB, free: 11.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9425, allocations: 4 kB / 1.293 GB, free: 11.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9425, allocations: 0 / 1.293 GB, free: 11.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.9425, allocations: 0 / 1.293 GB, free: 11.57 MB / 1.029 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.002324/0.9449, allocations: 1.515 MB / 1.294 GB, free: 10 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.9449, allocations: 12.03 kB / 1.294 GB, free: 9.988 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.9451, allocations: 143.3 kB / 1.294 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003018/0.9481, allocations: 470.1 kB / 1.295 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.9497, allocations: 0.8669 MB / 1.296 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/0.9498, allocations: 62 kB / 1.296 GB, free: 8.406 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.9499, allocations: 91.98 kB / 1.296 GB, free: 8.316 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002159/0.9521, allocations: 1.171 MB / 1.297 GB, free: 7.125 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.9521, allocations: 4 kB / 1.297 GB, free: 7.121 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.9522, allocations: 36 kB / 1.297 GB, free: 7.086 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/0.9523, allocations: 41.92 kB / 1.297 GB, free: 7.043 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002425/0.9547, allocations: 1.066 MB / 1.298 GB, free: 5.977 MB / 1.029 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.006843/0.9616, allocations: 4.303 MB / 1.302 GB, free: 1.406 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.9636, allocations: 0.7483 MB / 1.303 GB, free: 0.6484 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009745/0.9646, allocations: 401.9 kB / 1.303 GB, free: 260 kB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.9648, allocations: 105.1 kB / 1.303 GB, free: 136 kB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.9648, allocations: 46.48 kB / 1.303 GB, free: 80 kB / 1.029 GB Notification: Performance of pre-optimization done (n=43): time 2.124e-06/0.9648, allocations: 0 / 1.303 GB, free: 80 kB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.005909/0.9708, allocations: 2.178 MB / 1.306 GB, free: 13.84 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.9708, allocations: 59.41 kB / 1.306 GB, free: 13.77 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.9719, allocations: 0.8608 MB / 1.306 GB, free: 12.91 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.972, allocations: 37.7 kB / 1.307 GB, free: 12.86 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.9723, allocations: 495.2 kB / 1.307 GB, free: 12.38 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.9725, allocations: 161.6 kB / 1.307 GB, free: 12.22 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.9727, allocations: 126.2 kB / 1.307 GB, free: 12.09 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.9729, allocations: 330 kB / 1.308 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009795/0.9738, allocations: 365 kB / 1.308 GB, free: 11.41 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.9749, allocations: 0.5013 MB / 1.308 GB, free: 10.85 MB / 1.045 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.006351/0.9813, allocations: 2.266 MB / 1.311 GB, free: 8.516 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9813, allocations: 0 / 1.311 GB, free: 8.516 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002366/0.9837, allocations: 0.9819 MB / 1.312 GB, free: 7.523 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.9837, allocations: 8 kB / 1.312 GB, free: 7.516 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.9837, allocations: 4 kB / 1.312 GB, free: 7.512 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.9837, allocations: 20.05 kB / 1.312 GB, free: 7.492 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009729/0.9847, allocations: 187.7 kB / 1.312 GB, free: 7.309 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.9848, allocations: 11.94 kB / 1.312 GB, free: 7.297 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009979/0.9858, allocations: 67.92 kB / 1.312 GB, free: 7.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.9858, allocations: 24 kB / 1.312 GB, free: 7.207 MB / 1.045 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.0004758/0.9863, allocations: 310.1 kB / 1.312 GB, free: 6.895 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.9865, allocations: 94.88 kB / 1.312 GB, free: 6.801 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.9867, allocations: 108.7 kB / 1.312 GB, free: 6.691 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.9868, allocations: 11.92 kB / 1.312 GB, free: 6.68 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.9868, allocations: 4 kB / 1.312 GB, free: 6.676 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002113/0.9889, allocations: 1.022 MB / 1.313 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/0.9936, allocations: 2.137 MB / 1.316 GB, free: 3.332 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.9936, allocations: 8 kB / 1.316 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008984/0.9945, allocations: 171.8 kB / 1.316 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.9945, allocations: 4 kB / 1.316 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.489e-05/0.9946, allocations: 12 kB / 1.316 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.9946, allocations: 7.984 kB / 1.316 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.9946, allocations: 7.938 kB / 1.316 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.9977, allocations: 1.411 MB / 1.317 GB, free: 1.656 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004403/0.9981, allocations: 255.9 kB / 1.317 GB, free: 1.387 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.9983, allocations: 11.98 kB / 1.317 GB, free: 1.375 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009157/0.9992, allocations: 71.88 kB / 1.317 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.9993, allocations: 39.89 kB / 1.317 GB, free: 1.266 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.216e-05/0.9993, allocations: 31.98 kB / 1.317 GB, free: 1.234 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0007324/1, allocations: 0.6043 MB / 1.318 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1, allocations: 0 / 1.318 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0008283/1.001, allocations: 268 kB / 1.318 GB, free: 384 kB / 1.045 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.003889/1.005, allocations: 2.063 MB / 1.32 GB, free: 14.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002125/1.007, allocations: 0.8152 MB / 1.321 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.007, allocations: 0 / 1.321 GB, free: 13.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009891/1.008, allocations: 384.7 kB / 1.321 GB, free: 13.05 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/1.01, allocations: 0.5831 MB / 1.322 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/1.025, allocations: 8.191 MB / 1.33 GB, free: 3.973 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/1.025, allocations: 1.11 MB / 1.331 GB, free: 2.836 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0009241/1.026, allocations: 259.8 kB / 1.331 GB, free: 2.578 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/1.027, allocations: 355.3 kB / 1.332 GB, free: 2.234 MB / 1.061 GB Notification: Performance of SimCode: time 1.042e-06/1.027, allocations: 0 / 1.332 GB, free: 2.234 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07241/1.099, allocations: 28.72 MB / 1.36 GB, free: 6.035 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.81, allocations: 4.312 kB / 1.36 GB, free: 6.035 MB / 1.092 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