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.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.001281/0.001281, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001794/0.001794, allocations: 220 kB / 23.03 MB, free: 4.922 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.383/1.383, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.09/3.09, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate",fmuType="cs",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.001875/0.001875, allocations: 68.72 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3468, allocations: 179 MB / 1.345 GB, free: 15.9 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2078/0.5546, allocations: 168.3 MB / 1.51 GB, free: 6.934 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009861/0.5645, allocations: 5.422 MB / 1.515 GB, free: 1.5 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.5656, allocations: 51.56 kB / 1.515 GB, free: 1.449 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.5672, allocations: 0.5396 MB / 1.516 GB, free: 0.9062 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.5718, allocations: 1.696 MB / 1.517 GB, free: 15.2 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.5752, allocations: 1.244 MB / 1.518 GB, free: 13.97 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003674/0.5789, allocations: 2.608 MB / 1.521 GB, free: 11.35 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.5801, allocations: 0.7553 MB / 1.522 GB, free: 10.57 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.5827, allocations: 1.281 MB / 1.523 GB, free: 9.289 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.5845, allocations: 0.9107 MB / 1.524 GB, free: 8.379 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.5847, allocations: 108 kB / 1.524 GB, free: 8.273 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00275/0.5875, allocations: 1.298 MB / 1.525 GB, free: 6.973 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006962/0.5882, allocations: 0.5063 MB / 1.526 GB, free: 6.465 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008032/0.589, allocations: 0.5369 MB / 1.526 GB, free: 5.926 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003386/0.5923, allocations: 2.164 MB / 1.528 GB, free: 3.758 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5923, allocations: 0 / 1.528 GB, free: 3.758 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5924, allocations: 0 / 1.528 GB, free: 3.758 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.5924, allocations: 4 kB / 1.528 GB, free: 3.754 MB / 1.217 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.002547/0.5949, allocations: 1.477 MB / 1.53 GB, free: 2.242 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.595, allocations: 8.031 kB / 1.53 GB, free: 2.234 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.054e-05/0.595, allocations: 25.94 kB / 1.53 GB, free: 2.207 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.5952, allocations: 147.2 kB / 1.53 GB, free: 2.055 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003101/0.5983, allocations: 470.8 kB / 1.53 GB, free: 1.594 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.5999, allocations: 0.7838 MB / 1.531 GB, free: 0.7812 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.6, allocations: 66 kB / 1.531 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.6001, allocations: 91.89 kB / 1.531 GB, free: 0.6289 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.6027, allocations: 1.547 MB / 1.533 GB, free: 14.96 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.6027, allocations: 4 kB / 1.533 GB, free: 14.96 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.6028, allocations: 39.98 kB / 1.533 GB, free: 14.92 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/0.6029, allocations: 41.98 kB / 1.533 GB, free: 14.88 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.6053, allocations: 1.07 MB / 1.534 GB, free: 13.81 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.006923/0.6122, allocations: 3.308 MB / 1.537 GB, free: 10.42 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.6141, allocations: 0.717 MB / 1.538 GB, free: 9.691 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009307/0.6151, allocations: 386 kB / 1.538 GB, free: 9.312 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.6152, allocations: 23.98 kB / 1.538 GB, free: 9.289 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.6153, allocations: 38.56 kB / 1.538 GB, free: 9.242 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 2.474e-06/0.6153, allocations: 0 / 1.538 GB, free: 9.242 MB / 1.232 GB Notification: Performance of matching and sorting (n=45): time 0.005827/0.6211, allocations: 2.128 MB / 1.54 GB, free: 7.082 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.6212, allocations: 59.41 kB / 1.54 GB, free: 7.012 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.6225, allocations: 0.8647 MB / 1.541 GB, free: 6.137 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.285e-05/0.6225, allocations: 37.7 kB / 1.541 GB, free: 6.094 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.623, allocations: 0.4885 MB / 1.542 GB, free: 5.598 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.6232, allocations: 170.5 kB / 1.542 GB, free: 5.43 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.6235, allocations: 126.2 kB / 1.542 GB, free: 5.301 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.6237, allocations: 330 kB / 1.542 GB, free: 4.973 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009824/0.6246, allocations: 373 kB / 1.543 GB, free: 4.605 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.6258, allocations: 0.5437 MB / 1.543 GB, free: 4 MB / 1.232 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.00637/0.6322, allocations: 2.2 MB / 1.545 GB, free: 1.742 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6322, allocations: 0 / 1.545 GB, free: 1.742 MB / 1.232 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002427/0.6346, allocations: 0.981 MB / 1.546 GB, free: 0.7578 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.6346, allocations: 9.562 kB / 1.546 GB, free: 0.75 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.6346, allocations: 8.125 kB / 1.546 GB, free: 0.7422 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.6347, allocations: 11.94 kB / 1.546 GB, free: 0.7305 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009759/0.6356, allocations: 191.7 kB / 1.547 GB, free: 0.543 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.6357, allocations: 15.88 kB / 1.547 GB, free: 0.5273 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.6367, allocations: 63.94 kB / 1.547 GB, free: 476 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.6367, allocations: 27.98 kB / 1.547 GB, free: 448 kB / 1.232 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.0005312/0.6373, allocations: 309.5 kB / 1.547 GB, free: 128 kB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.6374, allocations: 99.39 kB / 1.547 GB, free: 28 kB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.6377, allocations: 108.8 kB / 1.547 GB, free: 15.92 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.6377, allocations: 4 kB / 1.547 GB, free: 15.91 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6377, allocations: 0 / 1.547 GB, free: 15.91 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002004/0.6397, allocations: 1.026 MB / 1.548 GB, free: 14.8 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0046/0.6443, allocations: 1.976 MB / 1.55 GB, free: 12.74 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.6443, allocations: 4 kB / 1.55 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008798/0.6452, allocations: 160.1 kB / 1.55 GB, free: 12.58 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.6452, allocations: 4 kB / 1.55 GB, free: 12.57 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.6453, allocations: 19.98 kB / 1.55 GB, free: 12.55 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.6453, allocations: 11.88 kB / 1.55 GB, free: 12.54 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.6453, allocations: 8 kB / 1.55 GB, free: 12.54 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00307/0.6483, allocations: 1.411 MB / 1.552 GB, free: 11.07 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/0.6488, allocations: 183.3 kB / 1.552 GB, free: 10.89 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.6489, allocations: 15.98 kB / 1.552 GB, free: 10.87 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008864/0.6498, allocations: 71.88 kB / 1.552 GB, free: 10.8 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/0.6499, allocations: 35.97 kB / 1.552 GB, free: 10.77 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/0.65, allocations: 31.97 kB / 1.552 GB, free: 10.73 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008091/0.6508, allocations: 0.6044 MB / 1.553 GB, free: 10.13 MB / 1.248 GB Notification: Performance of sort global known variables: time 6e-08/0.6508, allocations: 0 / 1.553 GB, free: 10.13 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008633/0.6517, allocations: 279.8 kB / 1.553 GB, free: 9.859 MB / 1.248 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.003595/0.6553, allocations: 2.062 MB / 1.555 GB, free: 7.723 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.6573, allocations: 0.7872 MB / 1.556 GB, free: 6.93 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.6573, allocations: 4 kB / 1.556 GB, free: 6.926 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009179/0.6582, allocations: 389.3 kB / 1.556 GB, free: 6.547 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.6606, allocations: 0.5748 MB / 1.557 GB, free: 5.984 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/0.6753, allocations: 8.209 MB / 1.565 GB, free: 13.46 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005753/0.6759, allocations: 0.5161 MB / 1.565 GB, free: 12.92 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009907/0.6768, allocations: 267.8 kB / 1.565 GB, free: 12.65 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005955/0.6774, allocations: 351.3 kB / 1.566 GB, free: 12.31 MB / 1.264 GB Notification: Performance of SimCode: time 6.91e-07/0.6774, allocations: 0 / 1.566 GB, free: 12.31 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06489/0.7423, allocations: 31.46 MB / 1.596 GB, free: 13.54 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.43, allocations: 15.97 kB / 1.596 GB, free: 13.52 MB / 1.295 GB " [Timeout remaining time 286] (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 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.49449273501523]