Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.339/1.339, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.854/2.854, allocations: 0.49 GB / 0.7951 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.3 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2835, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.204/0.4875, allocations: 194.5 MB / 1.516 GB, free: 14.65 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.008995/0.4965, allocations: 5.763 MB / 1.521 GB, free: 8.875 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.4975, allocations: 55.56 kB / 1.522 GB, free: 8.82 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.4991, allocations: 0.5981 MB / 1.522 GB, free: 8.219 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004033/0.5032, allocations: 1.704 MB / 1.524 GB, free: 6.508 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.5062, allocations: 1.256 MB / 1.525 GB, free: 5.258 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003593/0.5098, allocations: 2.63 MB / 1.528 GB, free: 2.625 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.5112, allocations: 0.7474 MB / 1.528 GB, free: 1.859 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.5137, allocations: 1.277 MB / 1.53 GB, free: 0.5781 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.5158, allocations: 0.9009 MB / 1.53 GB, free: 15.68 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.516, allocations: 108 kB / 1.531 GB, free: 15.57 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.5189, allocations: 1.648 MB / 1.532 GB, free: 13.92 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005988/0.5195, allocations: 0.5025 MB / 1.533 GB, free: 13.42 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0009024/0.5204, allocations: 0.6417 MB / 1.533 GB, free: 12.77 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.003055/0.5234, allocations: 2.192 MB / 1.535 GB, free: 10.57 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5235, allocations: 4 kB / 1.535 GB, free: 10.57 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5235, allocations: 0 / 1.535 GB, free: 10.57 MB / 1.232 GB Notification: Performance of Transformations before backend: time 2.896e-05/0.5235, allocations: 0 / 1.535 GB, free: 10.57 MB / 1.232 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.002577/0.5261, allocations: 1.478 MB / 1.537 GB, free: 9.055 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.5261, allocations: 8.031 kB / 1.537 GB, free: 9.047 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.5263, allocations: 139.3 kB / 1.537 GB, free: 8.902 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/0.5291, allocations: 486.7 kB / 1.537 GB, free: 8.426 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.5307, allocations: 0.7877 MB / 1.538 GB, free: 7.609 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.5307, allocations: 62 kB / 1.538 GB, free: 7.551 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.5309, allocations: 88 kB / 1.538 GB, free: 7.465 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002109/0.533, allocations: 1.179 MB / 1.54 GB, free: 6.262 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.533, allocations: 4 kB / 1.54 GB, free: 6.258 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.049e-05/0.5331, allocations: 32 kB / 1.54 GB, free: 6.227 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.445e-05/0.5331, allocations: 38 kB / 1.54 GB, free: 6.191 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.5354, allocations: 1.062 MB / 1.541 GB, free: 5.125 MB / 1.232 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.006867/0.5423, allocations: 4.425 MB / 1.545 GB, free: 416 kB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.5441, allocations: 0.7185 MB / 1.546 GB, free: 15.68 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008705/0.545, allocations: 388.4 kB / 1.546 GB, free: 15.3 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001411/0.5451, allocations: 23.98 kB / 1.546 GB, free: 15.27 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.5451, allocations: 46.55 kB / 1.546 GB, free: 15.22 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 1.543e-06/0.5451, allocations: 3.938 kB / 1.546 GB, free: 15.21 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.00537/0.5505, allocations: 2.12 MB / 1.548 GB, free: 13.06 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.5505, allocations: 55.41 kB / 1.548 GB, free: 12.99 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.5516, allocations: 0.8686 MB / 1.549 GB, free: 12.12 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.5516, allocations: 33.7 kB / 1.549 GB, free: 12.08 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.552, allocations: 0.4923 MB / 1.55 GB, free: 11.58 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.5522, allocations: 174.6 kB / 1.55 GB, free: 11.41 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.5524, allocations: 126.2 kB / 1.55 GB, free: 11.28 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5525, allocations: 330 kB / 1.55 GB, free: 10.95 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008977/0.5534, allocations: 369 kB / 1.551 GB, free: 10.59 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.5544, allocations: 0.4974 MB / 1.551 GB, free: 10.04 MB / 1.248 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.005859/0.5603, allocations: 2.184 MB / 1.553 GB, free: 7.801 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5603, allocations: 4 kB / 1.553 GB, free: 7.797 MB / 1.248 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002312/0.5626, allocations: 0.9888 MB / 1.554 GB, free: 6.801 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5626, allocations: 8 kB / 1.554 GB, free: 6.793 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5626, allocations: 4.125 kB / 1.554 GB, free: 6.789 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.5627, allocations: 11.94 kB / 1.554 GB, free: 6.777 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008998/0.5636, allocations: 195.7 kB / 1.554 GB, free: 6.586 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.5636, allocations: 8 kB / 1.554 GB, free: 6.578 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009278/0.5645, allocations: 63.92 kB / 1.554 GB, free: 6.516 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.5646, allocations: 28 kB / 1.554 GB, free: 6.488 MB / 1.248 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.0005073/0.5651, allocations: 317.5 kB / 1.555 GB, free: 6.168 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.5653, allocations: 103.3 kB / 1.555 GB, free: 6.066 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.5655, allocations: 100.8 kB / 1.555 GB, free: 5.969 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.5655, allocations: 7.938 kB / 1.555 GB, free: 5.961 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.5655, allocations: 8 kB / 1.555 GB, free: 5.953 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001928/0.5675, allocations: 1.022 MB / 1.556 GB, free: 4.844 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/0.5722, allocations: 2.109 MB / 1.558 GB, free: 2.645 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5722, allocations: 4 kB / 1.558 GB, free: 2.641 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008357/0.5731, allocations: 163.9 kB / 1.558 GB, free: 2.48 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.5731, allocations: 4 kB / 1.558 GB, free: 2.477 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.785e-05/0.5731, allocations: 19.98 kB / 1.558 GB, free: 2.457 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.5731, allocations: 4 kB / 1.558 GB, free: 2.453 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.5731, allocations: 11.88 kB / 1.558 GB, free: 2.441 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.5761, allocations: 1.419 MB / 1.56 GB, free: 0.9648 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.5766, allocations: 175.4 kB / 1.56 GB, free: 0.793 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.5767, allocations: 19.98 kB / 1.56 GB, free: 0.7734 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008474/0.5776, allocations: 68.75 kB / 1.56 GB, free: 0.707 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/0.5777, allocations: 47.91 kB / 1.56 GB, free: 0.6602 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.5778, allocations: 31.97 kB / 1.56 GB, free: 0.6289 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0007532/0.5785, allocations: 0.6005 MB / 1.561 GB, free: 32 kB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.5785, allocations: 0 / 1.561 GB, free: 32 kB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008078/0.5793, allocations: 275.9 kB / 1.561 GB, free: 15.76 MB / 1.264 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.00348/0.5828, allocations: 2.054 MB / 1.563 GB, free: 13.64 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.001951/0.5847, allocations: 0.7885 MB / 1.564 GB, free: 12.85 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5847, allocations: 8.188 kB / 1.564 GB, free: 12.84 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0009093/0.5857, allocations: 376.5 kB / 1.564 GB, free: 12.48 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.588, allocations: 0.5782 MB / 1.564 GB, free: 11.91 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/0.6022, allocations: 8.22 MB / 1.573 GB, free: 3.383 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/0.603, allocations: 1.107 MB / 1.574 GB, free: 2.25 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007919/0.6037, allocations: 267.8 kB / 1.574 GB, free: 1.984 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005383/0.6043, allocations: 355.3 kB / 1.574 GB, free: 1.637 MB / 1.264 GB Notification: Performance of SimCode: time 4.81e-07/0.6043, allocations: 0 / 1.574 GB, free: 1.637 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06655/0.6708, allocations: 29.4 MB / 1.603 GB, free: 4.711 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.27, allocations: 4.062 kB / 1.603 GB, free: 4.707 MB / 1.295 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.725840306142345]