Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.001457/0.001457, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.00153/0.00153, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.454/1.454, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.742/2.742, allocations: 476.7 MB / 0.7679 GB, free: 9.348 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate",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.002062/0.002062, allocations: 63.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate): time 0.2532/1.332, allocations: 194.2 MB / 1.469 GB, free: 9.629 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01138/1.344, allocations: 5.749 MB / 1.474 GB, free: 3.871 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001505/1.345, allocations: 55.56 kB / 1.474 GB, free: 3.816 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/1.347, allocations: 0.6097 MB / 1.475 GB, free: 3.203 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004686/1.352, allocations: 1.688 MB / 1.477 GB, free: 1.508 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/1.356, allocations: 1.227 MB / 1.478 GB, free: 296 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004188/1.36, allocations: 2.562 MB / 1.48 GB, free: 13.72 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/1.361, allocations: 0.7418 MB / 1.481 GB, free: 12.96 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/1.364, allocations: 1.101 MB / 1.482 GB, free: 11.86 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/1.366, allocations: 0.8772 MB / 1.483 GB, free: 10.99 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003112/1.367, allocations: 96 kB / 1.483 GB, free: 10.89 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/1.37, allocations: 1.629 MB / 1.485 GB, free: 9.262 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006332/1.371, allocations: 410.8 kB / 1.485 GB, free: 8.859 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/1.372, allocations: 0.5911 MB / 1.486 GB, free: 8.266 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003881/1.376, allocations: 2.025 MB / 1.488 GB, free: 6.234 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.376, allocations: 0 / 1.488 GB, free: 6.234 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.673e-06/1.376, allocations: 0 / 1.488 GB, free: 6.234 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.369e-05/1.376, allocations: 0 / 1.488 GB, free: 6.234 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.003488/1.379, allocations: 1.463 MB / 1.489 GB, free: 4.719 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.379, allocations: 16.02 kB / 1.489 GB, free: 4.703 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.008e-05/1.379, allocations: 22 kB / 1.489 GB, free: 4.68 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002414/1.38, allocations: 122.6 kB / 1.489 GB, free: 4.551 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002998/1.383, allocations: 418.9 kB / 1.49 GB, free: 4.141 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/1.384, allocations: 0.8123 MB / 1.49 GB, free: 3.289 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/1.385, allocations: 54 kB / 1.49 GB, free: 3.234 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/1.385, allocations: 75.94 kB / 1.49 GB, free: 3.16 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/1.387, allocations: 0.9866 MB / 1.491 GB, free: 2.156 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.387, allocations: 4 kB / 1.491 GB, free: 2.152 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/1.387, allocations: 32 kB / 1.491 GB, free: 2.121 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/1.387, allocations: 26 kB / 1.491 GB, free: 2.094 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002189/1.389, allocations: 0.8783 MB / 1.492 GB, free: 1.215 MB / 1.17 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.007254/1.397, allocations: 3.49 MB / 1.496 GB, free: 13.54 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/1.399, allocations: 0.59 MB / 1.496 GB, free: 12.94 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008817/1.4, allocations: 313.3 kB / 1.497 GB, free: 12.63 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002172/1.4, allocations: 101.4 kB / 1.497 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/1.4, allocations: 43.16 kB / 1.497 GB, free: 12.46 MB / 1.186 GB Notification: Performance of pre-optimization done (n=39): time 4.499e-06/1.4, allocations: 3.984 kB / 1.497 GB, free: 12.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=41): time 0.009208/1.409, allocations: 2.41 MB / 1.499 GB, free: 9.973 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/1.409, allocations: 55.41 kB / 1.499 GB, free: 9.906 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/1.41, allocations: 0.7941 MB / 1.5 GB, free: 9.105 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/1.41, allocations: 37.7 kB / 1.5 GB, free: 9.062 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/1.411, allocations: 460.5 kB / 1.5 GB, free: 8.609 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/1.411, allocations: 150.7 kB / 1.501 GB, free: 8.461 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/1.411, allocations: 106.2 kB / 1.501 GB, free: 8.352 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.411, allocations: 322 kB / 1.501 GB, free: 8.031 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008603/1.412, allocations: 304.9 kB / 1.501 GB, free: 7.73 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009407/1.413, allocations: 416 kB / 1.502 GB, free: 7.293 MB / 1.186 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.005823/1.419, allocations: 1.873 MB / 1.503 GB, free: 5.367 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.419, allocations: 4 kB / 1.503 GB, free: 5.363 MB / 1.186 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003531/1.423, allocations: 1.035 MB / 1.504 GB, free: 4.32 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/1.423, allocations: 8 kB / 1.504 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.423, allocations: 0 / 1.504 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/1.423, allocations: 188.8 kB / 1.505 GB, free: 4.125 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/1.424, allocations: 147.8 kB / 1.505 GB, free: 3.98 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/1.428, allocations: 2.227 MB / 1.507 GB, free: 1.613 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/1.429, allocations: 55.92 kB / 1.507 GB, free: 1.559 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/1.429, allocations: 20 kB / 1.507 GB, free: 1.539 MB / 1.186 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: 12 * 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 (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005282/1.43, allocations: 288.3 kB / 1.507 GB, free: 1.25 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/1.43, allocations: 91.44 kB / 1.507 GB, free: 1.16 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/1.43, allocations: 96.42 kB / 1.508 GB, free: 1.062 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.43, allocations: 4 kB / 1.508 GB, free: 1.059 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.43, allocations: 4 kB / 1.508 GB, free: 1.055 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003068/1.433, allocations: 0.9026 MB / 1.508 GB, free: 120 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005808/1.439, allocations: 2.094 MB / 1.51 GB, free: 13.92 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/1.439, allocations: 4 kB / 1.51 GB, free: 13.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/1.44, allocations: 128.2 kB / 1.511 GB, free: 13.79 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000615/1.441, allocations: 184.7 kB / 1.511 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/1.441, allocations: 15.92 kB / 1.511 GB, free: 13.59 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004187/1.445, allocations: 2.195 MB / 1.513 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.327e-05/1.445, allocations: 16 kB / 1.513 GB, free: 11.24 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004369/1.449, allocations: 1.413 MB / 1.514 GB, free: 9.762 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/1.45, allocations: 232.5 kB / 1.515 GB, free: 9.516 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/1.45, allocations: 16 kB / 1.515 GB, free: 9.5 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008739/1.451, allocations: 58.19 kB / 1.515 GB, free: 9.445 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.451, allocations: 47.83 kB / 1.515 GB, free: 9.398 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/1.451, allocations: 31.97 kB / 1.515 GB, free: 9.367 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008941/1.452, allocations: 0.5537 MB / 1.515 GB, free: 8.82 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/1.452, allocations: 3.938 kB / 1.515 GB, free: 8.816 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001068/1.453, allocations: 267.9 kB / 1.515 GB, free: 8.555 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00506/1.458, allocations: 2.048 MB / 1.517 GB, free: 6.438 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00255/1.461, allocations: 0.7896 MB / 1.518 GB, free: 5.637 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.461, allocations: 0 / 1.518 GB, free: 5.637 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/1.462, allocations: 451.4 kB / 1.519 GB, free: 5.184 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/1.465, allocations: 0.5493 MB / 1.519 GB, free: 4.645 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.483, allocations: 7.684 MB / 1.527 GB, free: 12.67 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008548/1.484, allocations: 1.044 MB / 1.528 GB, free: 11.6 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009172/1.485, allocations: 207.2 kB / 1.528 GB, free: 11.39 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005352/1.486, allocations: 319.3 kB / 1.528 GB, free: 11.08 MB / 1.217 GB Notification: Performance of SimCode: time 1.913e-06/1.486, allocations: 0 / 1.528 GB, free: 11.08 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06671/1.552, allocations: 28.04 MB / 1.556 GB, free: 15.56 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.77, allocations: 18.59 kB / 1.556 GB, free: 15.55 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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: 22.191725187003613]