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.001257/0.001257, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00136/0.00136, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.441/1.441, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] 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 3.041/3.041, allocations: 0.49 GB / 0.7916 GB, free: 33.36 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.001964/0.001964, allocations: 70.91 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3295, allocations: 176.1 MB / 1.321 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2293/0.5588, allocations: 194.1 MB / 1.51 GB, free: 424 kB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009915/0.5687, allocations: 5.756 MB / 1.516 GB, free: 10.64 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001378/0.5701, allocations: 59.5 kB / 1.516 GB, free: 10.59 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0016/0.5717, allocations: 0.5903 MB / 1.517 GB, free: 9.992 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004339/0.576, allocations: 1.672 MB / 1.518 GB, free: 8.312 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003279/0.5793, allocations: 1.232 MB / 1.52 GB, free: 7.09 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003562/0.5829, allocations: 2.554 MB / 1.522 GB, free: 4.531 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.5842, allocations: 0.86 MB / 1.523 GB, free: 3.652 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002516/0.5867, allocations: 1.261 MB / 1.524 GB, free: 2.387 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.5887, allocations: 0.9125 MB / 1.525 GB, free: 1.477 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.00021/0.5889, allocations: 108 kB / 1.525 GB, free: 1.371 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.592, allocations: 1.617 MB / 1.527 GB, free: 15.75 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006512/0.5927, allocations: 0.4986 MB / 1.527 GB, free: 15.25 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008827/0.5936, allocations: 0.6416 MB / 1.528 GB, free: 14.61 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.5972, allocations: 2.184 MB / 1.53 GB, free: 12.41 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5972, allocations: 8 kB / 1.53 GB, free: 12.41 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.043e-06/0.5972, allocations: 0 / 1.53 GB, free: 12.41 MB / 1.232 GB Notification: Performance of Transformations before backend: time 3.09e-05/0.5972, allocations: 0 / 1.53 GB, free: 12.41 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.002809/0.6, allocations: 1.552 MB / 1.531 GB, free: 10.8 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.6, allocations: 15.98 kB / 1.531 GB, free: 10.78 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001842/0.6002, allocations: 147.2 kB / 1.532 GB, free: 10.63 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.6034, allocations: 474.8 kB / 1.532 GB, free: 10.16 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.6052, allocations: 0.8638 MB / 1.533 GB, free: 9.258 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.9e-05/0.6052, allocations: 66 kB / 1.533 GB, free: 9.195 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.6054, allocations: 84 kB / 1.533 GB, free: 9.113 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/0.6078, allocations: 1.179 MB / 1.534 GB, free: 7.91 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.6078, allocations: 3.984 kB / 1.534 GB, free: 7.906 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.6079, allocations: 36 kB / 1.534 GB, free: 7.871 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-05/0.608, allocations: 34 kB / 1.534 GB, free: 7.84 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.6104, allocations: 1.066 MB / 1.535 GB, free: 6.77 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.007582/0.618, allocations: 4.463 MB / 1.54 GB, free: 2.012 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/0.6201, allocations: 0.7325 MB / 1.54 GB, free: 1.27 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009657/0.621, allocations: 386.3 kB / 1.541 GB, free: 0.8906 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.6212, allocations: 105.1 kB / 1.541 GB, free: 0.7695 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.6213, allocations: 46.5 kB / 1.541 GB, free: 0.7148 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/0.6213, allocations: 0 / 1.541 GB, free: 0.7148 MB / 1.232 GB Notification: Performance of matching and sorting (n=45): time 0.006375/0.6276, allocations: 2.189 MB / 1.543 GB, free: 14.47 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.6277, allocations: 63.39 kB / 1.543 GB, free: 14.39 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.6289, allocations: 0.8608 MB / 1.544 GB, free: 13.53 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 8.834e-05/0.629, allocations: 37.7 kB / 1.544 GB, free: 13.48 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.6294, allocations: 0.4924 MB / 1.544 GB, free: 12.98 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.6296, allocations: 170.5 kB / 1.545 GB, free: 12.82 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.6298, allocations: 126.2 kB / 1.545 GB, free: 12.69 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.63, allocations: 334 kB / 1.545 GB, free: 12.36 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.631, allocations: 365 kB / 1.545 GB, free: 12 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.6322, allocations: 0.5052 MB / 1.546 GB, free: 11.44 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.006534/0.6387, allocations: 2.254 MB / 1.548 GB, free: 9.117 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6387, allocations: 3.938 kB / 1.548 GB, free: 9.113 MB / 1.248 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002512/0.6412, allocations: 0.9903 MB / 1.549 GB, free: 8.113 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6412, allocations: 8 kB / 1.549 GB, free: 8.105 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6413, allocations: 4 kB / 1.549 GB, free: 8.102 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.6413, allocations: 11.94 kB / 1.549 GB, free: 8.09 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009549/0.6422, allocations: 187.8 kB / 1.549 GB, free: 7.906 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.6422, allocations: 15.94 kB / 1.549 GB, free: 7.891 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.6433, allocations: 71.86 kB / 1.549 GB, free: 7.82 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.309e-05/0.6434, allocations: 32 kB / 1.549 GB, free: 7.789 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.0005517/0.644, allocations: 311.3 kB / 1.55 GB, free: 7.477 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.6442, allocations: 99.39 kB / 1.55 GB, free: 7.379 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.6444, allocations: 100.8 kB / 1.55 GB, free: 7.277 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.6444, allocations: 7.938 kB / 1.55 GB, free: 7.27 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.6444, allocations: 0 / 1.55 GB, free: 7.27 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002149/0.6466, allocations: 1.03 MB / 1.551 GB, free: 6.152 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/0.6515, allocations: 2.137 MB / 1.553 GB, free: 3.918 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.6515, allocations: 4.406 kB / 1.553 GB, free: 3.914 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/0.6524, allocations: 171.8 kB / 1.553 GB, free: 3.746 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.6524, allocations: 4 kB / 1.553 GB, free: 3.742 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.6525, allocations: 15.94 kB / 1.553 GB, free: 3.727 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.6525, allocations: 7.984 kB / 1.553 GB, free: 3.719 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.6525, allocations: 7.938 kB / 1.553 GB, free: 3.711 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/0.6558, allocations: 1.415 MB / 1.555 GB, free: 2.238 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005304/0.6564, allocations: 256.5 kB / 1.555 GB, free: 1.969 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.6565, allocations: 11.98 kB / 1.555 GB, free: 1.957 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009429/0.6574, allocations: 72.83 kB / 1.555 GB, free: 1.887 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.6575, allocations: 43.83 kB / 1.555 GB, free: 1.844 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/0.6576, allocations: 27.98 kB / 1.555 GB, free: 1.816 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008484/0.6585, allocations: 0.6005 MB / 1.556 GB, free: 1.219 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6585, allocations: 0 / 1.556 GB, free: 1.219 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009417/0.6594, allocations: 271.9 kB / 1.556 GB, free: 0.9531 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.003973/0.6634, allocations: 2.073 MB / 1.558 GB, free: 14.82 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002271/0.6657, allocations: 0.7914 MB / 1.559 GB, free: 14.02 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6657, allocations: 0.75 kB / 1.559 GB, free: 14.02 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.6667, allocations: 380.3 kB / 1.559 GB, free: 13.65 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/0.6695, allocations: 0.5844 MB / 1.56 GB, free: 13.08 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01635/0.6859, allocations: 8.227 MB / 1.568 GB, free: 4.547 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/0.6867, allocations: 1.106 MB / 1.569 GB, free: 3.414 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009849/0.6877, allocations: 259.8 kB / 1.569 GB, free: 3.156 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005965/0.6883, allocations: 359.3 kB / 1.569 GB, free: 2.805 MB / 1.264 GB Notification: Performance of SimCode: time 1.693e-06/0.6883, allocations: 0 / 1.569 GB, free: 2.805 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06711/0.7554, allocations: 28.88 MB / 1.597 GB, free: 6.406 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.389/10.14, allocations: 15.64 kB / 1.597 GB, free: 6.391 MB / 1.295 GB " [Timeout remaining time 290] (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: 17.07988011208363]