Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002019/0.002019, allocations: 194.4 kB / 16.25 MB, free: 6.629 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.49/1.49, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 482.3 MB / 0.7543 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002014, allocations: 64.09 kB / 0.9233 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 162.2 MB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.8556/1.166, allocations: 188.2 MB / 1.265 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00984/1.176, allocations: 5.71 MB / 1.271 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002162/1.178, allocations: 37.22 kB / 1.271 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001764/1.18, allocations: 0.5159 MB / 1.272 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005203/1.185, allocations: 1.727 MB / 1.273 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/1.188, allocations: 1.093 MB / 1.274 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004982/1.193, allocations: 2.941 MB / 1.277 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/1.195, allocations: 0.9406 MB / 1.278 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/1.198, allocations: 1.248 MB / 1.279 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00295/1.201, allocations: 0.9656 MB / 1.28 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002906/1.201, allocations: 108.5 kB / 1.28 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003863/1.205, allocations: 1.498 MB / 1.282 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006876/1.206, allocations: 455.8 kB / 1.282 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001242/1.207, allocations: 0.6565 MB / 1.283 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004955/1.212, allocations: 2.224 MB / 1.285 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.212, allocations: 2.906 kB / 1.285 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.212, allocations: 2.141 kB / 1.285 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.419e-05/1.212, allocations: 0 / 1.285 GB, free: 6.852 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.004077/1.216, allocations: 1.516 MB / 1.287 GB, free: 22.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.216, allocations: 10.33 kB / 1.287 GB, free: 22.07 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/1.219, allocations: 314.6 kB / 1.287 GB, free: 22.01 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/1.22, allocations: 0.8151 MB / 1.288 GB, free: 21.69 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/1.22, allocations: 64.88 kB / 1.288 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/1.221, allocations: 84.38 kB / 1.288 GB, free: 21.68 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/1.222, allocations: 0.9108 MB / 1.289 GB, free: 21.62 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/1.222, allocations: 0.8438 kB / 1.289 GB, free: 21.62 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/1.223, allocations: 37.41 kB / 1.289 GB, free: 21.62 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/1.223, allocations: 36.59 kB / 1.289 GB, free: 21.62 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.224, allocations: 0.8316 MB / 1.29 GB, free: 21.61 MB / 1.014 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.006339/1.23, allocations: 3.52 MB / 1.293 GB, free: 20.3 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/1.231, allocations: 0.4892 MB / 1.294 GB, free: 20.28 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004172/1.232, allocations: 292.3 kB / 1.294 GB, free: 20.27 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/1.232, allocations: 109.2 kB / 1.294 GB, free: 20.17 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/1.232, allocations: 48.5 kB / 1.294 GB, free: 20.13 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 3.206e-06/1.232, allocations: 0 / 1.294 GB, free: 20.13 MB / 1.014 GB Notification: Performance of matching and sorting (n=49): time 0.004436/1.236, allocations: 1.931 MB / 1.296 GB, free: 19.46 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/1.236, allocations: 57.62 kB / 1.296 GB, free: 19.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/1.238, allocations: 0.803 MB / 1.297 GB, free: 19.26 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.952e-05/1.238, allocations: 38.55 kB / 1.297 GB, free: 19.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/1.238, allocations: 475.6 kB / 1.297 GB, free: 19.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/1.238, allocations: 170 kB / 1.297 GB, free: 18.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/1.238, allocations: 116.5 kB / 1.297 GB, free: 18.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.238, allocations: 328.8 kB / 1.298 GB, free: 18.59 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/1.239, allocations: 242.8 kB / 1.298 GB, free: 18.58 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/1.239, allocations: 354.3 kB / 1.298 GB, free: 18.48 MB / 1.014 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.003636/1.243, allocations: 1.532 MB / 1.3 GB, free: 18.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/1.243, allocations: 0 / 1.3 GB, free: 18.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00144/1.244, allocations: 0.7919 MB / 1.301 GB, free: 18.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.245, allocations: 6.469 kB / 1.301 GB, free: 18.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/1.245, allocations: 3.812 kB / 1.301 GB, free: 18.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/1.245, allocations: 96.64 kB / 1.301 GB, free: 18.16 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006901/1.246, allocations: 149.7 kB / 1.301 GB, free: 18.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003638/1.249, allocations: 3.307 MB / 1.304 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/1.251, allocations: 62.88 kB / 1.304 GB, free: 15.45 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/1.251, allocations: 23.52 kB / 1.304 GB, free: 15.45 MB / 1.014 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006287/1.251, allocations: 305.8 kB / 1.304 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/1.251, allocations: 95.56 kB / 1.305 GB, free: 15.28 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/1.252, allocations: 98.75 kB / 1.305 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/1.252, allocations: 4.875 kB / 1.305 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.252, allocations: 1.031 kB / 1.305 GB, free: 15.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/1.253, allocations: 0.8393 MB / 1.305 GB, free: 14.81 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003162/1.256, allocations: 1.796 MB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.256, allocations: 6.281 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005945/1.257, allocations: 127.4 kB / 1.307 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/1.257, allocations: 70.61 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/1.257, allocations: 13.69 kB / 1.307 GB, free: 14.37 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/1.259, allocations: 1.787 MB / 1.309 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/1.259, allocations: 11.44 kB / 1.309 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/1.26, allocations: 1.067 MB / 1.31 GB, free: 12.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005365/1.261, allocations: 237.4 kB / 1.31 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/1.261, allocations: 14.34 kB / 1.31 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000805/1.262, allocations: 65.14 kB / 1.311 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.262, allocations: 42.64 kB / 1.311 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.057e-05/1.262, allocations: 29.11 kB / 1.311 GB, free: 12.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007927/1.263, allocations: 0.5573 MB / 1.311 GB, free: 12.47 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/1.263, allocations: 0 / 1.311 GB, free: 12.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001183/1.264, allocations: 293.8 kB / 1.311 GB, free: 12.47 MB / 1.014 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 (45): * Single equations (assignments): 44 * 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.0005389/1.265, allocations: 197.2 kB / 1.312 GB, free: 12.36 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001541/1.266, allocations: 0.8681 MB / 1.312 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.266, allocations: 7.844 kB / 1.312 GB, free: 12.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005704/1.267, allocations: 412.3 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/1.269, allocations: 0.6082 MB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/1.272, allocations: 2.179 MB / 1.316 GB, free: 10.74 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007664/1.273, allocations: 1.096 MB / 1.317 GB, free: 10.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009834/1.274, allocations: 216.1 kB / 1.317 GB, free: 9.961 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/1.274, allocations: 66.06 kB / 1.317 GB, free: 9.953 MB / 1.014 GB Notification: Performance of SimCode: time 9.71e-07/1.274, allocations: 0 / 1.317 GB, free: 9.953 MB / 1.014 GB Notification: Performance of Templates: time 0.03597/1.31, allocations: 20.41 MB / 1.337 GB, free: 6.234 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches