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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006578/0.006578, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.001238/0.001238, allocations: 192.5 kB / 16.67 MB, free: 5.91 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: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.522/2.522, allocations: 437.1 MB / 0.7105 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3061, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.8999/1.206, allocations: 190.5 MB / 1.352 GB, free: 2.812 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01151/1.218, allocations: 5.711 MB / 1.358 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/1.22, allocations: 37.25 kB / 1.358 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/1.222, allocations: 0.5908 MB / 1.358 GB, free: 14.42 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005699/1.228, allocations: 1.668 MB / 1.36 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00388/1.232, allocations: 1.228 MB / 1.361 GB, free: 12.85 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004434/1.236, allocations: 2.558 MB / 1.364 GB, free: 11.7 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/1.238, allocations: 1.035 MB / 1.365 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/1.241, allocations: 1.085 MB / 1.366 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003735/1.245, allocations: 0.8566 MB / 1.367 GB, free: 10.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0008627/1.246, allocations: 107.9 kB / 1.367 GB, free: 10.39 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005095/1.251, allocations: 1.566 MB / 1.368 GB, free: 9.656 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/1.252, allocations: 496.1 kB / 1.369 GB, free: 9.336 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002073/1.254, allocations: 0.6417 MB / 1.369 GB, free: 8.922 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005179/1.26, allocations: 2.18 MB / 1.372 GB, free: 7.527 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/1.26, allocations: 0 / 1.372 GB, free: 7.527 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.755e-06/1.26, allocations: 0 / 1.372 GB, free: 7.527 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.197e-05/1.26, allocations: 4 kB / 1.372 GB, free: 7.523 MB / 1.045 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.004108/1.264, allocations: 1.517 MB / 1.373 GB, free: 6.375 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.264, allocations: 9.75 kB / 1.373 GB, free: 6.375 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003641/1.264, allocations: 141.1 kB / 1.373 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/1.268, allocations: 473.9 kB / 1.374 GB, free: 6.055 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/1.27, allocations: 0.8535 MB / 1.374 GB, free: 5.398 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/1.27, allocations: 70.66 kB / 1.374 GB, free: 5.367 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/1.27, allocations: 88.12 kB / 1.375 GB, free: 5.336 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/1.273, allocations: 1.178 MB / 1.376 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/1.273, allocations: 0 / 1.376 GB, free: 4.648 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/1.273, allocations: 37.91 kB / 1.376 GB, free: 4.621 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.792e-05/1.273, allocations: 35.95 kB / 1.376 GB, free: 4.617 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/1.276, allocations: 1.069 MB / 1.377 GB, free: 4.105 MB / 1.045 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.007946/1.284, allocations: 4.304 MB / 1.381 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/1.285, allocations: 0.746 MB / 1.382 GB, free: 304 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009121/1.286, allocations: 399 kB / 1.382 GB, free: 108 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/1.287, allocations: 103.8 kB / 1.382 GB, free: 4 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/1.287, allocations: 44.64 kB / 1.382 GB, free: 15.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=43): time 2.204e-06/1.287, allocations: 0 / 1.382 GB, free: 15.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=45): time 0.006047/1.293, allocations: 2.179 MB / 1.384 GB, free: 14.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/1.293, allocations: 60.16 kB / 1.384 GB, free: 14.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/1.294, allocations: 0.8612 MB / 1.385 GB, free: 14.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.893e-05/1.294, allocations: 42.48 kB / 1.385 GB, free: 14.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/1.295, allocations: 0.4917 MB / 1.386 GB, free: 13.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/1.295, allocations: 154.1 kB / 1.386 GB, free: 13.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/1.295, allocations: 123 kB / 1.386 GB, free: 13.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.295, allocations: 327.6 kB / 1.386 GB, free: 13.15 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008916/1.296, allocations: 371.9 kB / 1.387 GB, free: 12.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009513/1.297, allocations: 0.4952 MB / 1.387 GB, free: 12.64 MB / 1.061 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.005803/1.303, allocations: 2.268 MB / 1.389 GB, free: 11.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/1.303, allocations: 0 / 1.389 GB, free: 11.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002278/1.305, allocations: 0.9863 MB / 1.39 GB, free: 10.92 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/1.305, allocations: 5.375 kB / 1.39 GB, free: 10.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.305, allocations: 12.7 kB / 1.39 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/1.305, allocations: 7.875 kB / 1.39 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009135/1.306, allocations: 192.5 kB / 1.391 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/1.306, allocations: 11.83 kB / 1.391 GB, free: 10.85 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/1.307, allocations: 63.22 kB / 1.391 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/1.307, allocations: 24.19 kB / 1.391 GB, free: 10.82 MB / 1.061 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.0005888/1.308, allocations: 316.8 kB / 1.391 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/1.308, allocations: 98.64 kB / 1.391 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/1.309, allocations: 105.2 kB / 1.391 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.309, allocations: 8.875 kB / 1.391 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/1.309, allocations: 0 / 1.391 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001978/1.311, allocations: 1.019 MB / 1.392 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004982/1.316, allocations: 2.138 MB / 1.394 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/1.316, allocations: 6.406 kB / 1.394 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/1.317, allocations: 165.5 kB / 1.394 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/1.317, allocations: 4.75 kB / 1.394 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/1.317, allocations: 19.86 kB / 1.395 GB, free: 8.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/1.317, allocations: 11.31 kB / 1.395 GB, free: 8.203 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/1.317, allocations: 6.656 kB / 1.395 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/1.32, allocations: 1.41 MB / 1.396 GB, free: 7.355 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/1.32, allocations: 254.7 kB / 1.396 GB, free: 7.148 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/1.321, allocations: 15.73 kB / 1.396 GB, free: 7.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/1.322, allocations: 65.03 kB / 1.396 GB, free: 7.113 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/1.322, allocations: 39.45 kB / 1.396 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.322, allocations: 39.67 kB / 1.396 GB, free: 7.07 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009462/1.323, allocations: 0.6016 MB / 1.397 GB, free: 6.734 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.11e-07/1.323, allocations: 0 / 1.397 GB, free: 6.734 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001105/1.324, allocations: 268.1 kB / 1.397 GB, free: 6.711 MB / 1.061 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.00379/1.328, allocations: 2.073 MB / 1.399 GB, free: 5.262 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002114/1.33, allocations: 0.8261 MB / 1.4 GB, free: 4.57 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.33, allocations: 0 / 1.4 GB, free: 4.57 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009429/1.331, allocations: 384.4 kB / 1.4 GB, free: 4.195 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.334, allocations: 0.5792 MB / 1.401 GB, free: 3.629 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/1.35, allocations: 8.186 MB / 1.409 GB, free: 11.13 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009112/1.351, allocations: 1.106 MB / 1.41 GB, free: 9.996 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001138/1.352, allocations: 267.7 kB / 1.41 GB, free: 9.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006806/1.353, allocations: 355.3 kB / 1.411 GB, free: 9.383 MB / 1.076 GB Notification: Performance of SimCode: time 1.062e-06/1.353, allocations: 0 / 1.411 GB, free: 9.383 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06306/1.416, allocations: 28.71 MB / 1.439 GB, free: 13.19 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.572/10.99, allocations: 7.094 kB / 1.439 GB, free: 13.19 MB / 1.107 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