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.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.0008641/0.0008641, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008483/0.0008483, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8581/0.8581, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.703/1.703, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.985e-06/2.985e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/3.067e-05, allocations: 2.281 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.6193/0.6193, allocations: 168.4 MB / 1.165 GB, free: 9.832 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.008787/0.6281, allocations: 5.436 MB / 1.171 GB, free: 6.133 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.6297, allocations: 57.78 kB / 1.171 GB, free: 6.102 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.6313, allocations: 0.5712 MB / 1.171 GB, free: 5.785 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.005091/0.6363, allocations: 1.969 MB / 1.173 GB, free: 4.688 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.6396, allocations: 1.25 MB / 1.174 GB, free: 4.023 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.004529/0.6442, allocations: 3.025 MB / 1.177 GB, free: 2.605 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.6455, allocations: 0.7254 MB / 1.178 GB, free: 2.258 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.6487, allocations: 1.669 MB / 1.18 GB, free: 1.508 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.6509, allocations: 0.845 MB / 1.181 GB, free: 1.238 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.6511, allocations: 106.9 kB / 1.181 GB, free: 1.238 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/0.6539, allocations: 1.194 MB / 1.182 GB, free: 0.8086 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0005535/0.6545, allocations: 0.4925 MB / 1.182 GB, free: 0.5703 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.6551, allocations: 485.8 kB / 1.183 GB, free: 384 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.003674/0.6588, allocations: 2.167 MB / 1.185 GB, free: 15.64 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.6588, allocations: 3.938 kB / 1.185 GB, free: 15.63 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6588, allocations: 0 / 1.185 GB, free: 15.63 MB / 1.042 GB Notification: Performance of Transformations before backend: time 3.021e-05/0.6589, allocations: 0 / 1.185 GB, free: 15.63 MB / 1.042 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.002497/0.6614, allocations: 1.46 MB / 1.186 GB, free: 14.71 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.6614, allocations: 13.02 kB / 1.186 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.6628, allocations: 321.1 kB / 1.187 GB, free: 14.63 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.664, allocations: 0.7801 MB / 1.187 GB, free: 14.17 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/0.6641, allocations: 71.73 kB / 1.187 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.6642, allocations: 83.5 kB / 1.188 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.6657, allocations: 1.362 MB / 1.189 GB, free: 13.2 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.6657, allocations: 0 / 1.189 GB, free: 13.2 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/0.6658, allocations: 37.16 kB / 1.189 GB, free: 13.17 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-05/0.6659, allocations: 34.44 kB / 1.189 GB, free: 13.16 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.667, allocations: 0.8213 MB / 1.19 GB, free: 12.9 MB / 1.042 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.004047/0.6711, allocations: 2.38 MB / 1.192 GB, free: 11.76 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.6717, allocations: 475.7 kB / 1.193 GB, free: 11.55 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.6721, allocations: 279.2 kB / 1.193 GB, free: 11.46 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.6722, allocations: 23.78 kB / 1.193 GB, free: 11.45 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.6723, allocations: 43.44 kB / 1.193 GB, free: 11.41 MB / 1.042 GB Notification: Performance of pre-optimization done (n=47): time 6.071e-06/0.6723, allocations: 3.25 kB / 1.193 GB, free: 11.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=49): time 0.003204/0.6755, allocations: 1.695 MB / 1.194 GB, free: 10.59 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.6755, allocations: 57.91 kB / 1.195 GB, free: 10.53 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006803/0.6762, allocations: 0.6427 MB / 1.195 GB, free: 10.24 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.6762, allocations: 37.98 kB / 1.195 GB, free: 10.2 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.6765, allocations: 494.6 kB / 1.196 GB, free: 9.816 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.6767, allocations: 180 kB / 1.196 GB, free: 9.672 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.6768, allocations: 114.1 kB / 1.196 GB, free: 9.605 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6769, allocations: 379.6 kB / 1.196 GB, free: 9.266 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003156/0.6773, allocations: 249.2 kB / 1.197 GB, free: 9.18 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.6777, allocations: 404.8 kB / 1.197 GB, free: 8.918 MB / 1.042 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.002359/0.68, allocations: 1.461 MB / 1.198 GB, free: 8.359 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.68, allocations: 1.219 kB / 1.198 GB, free: 8.359 MB / 1.042 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001045/0.6811, allocations: 0.7718 MB / 1.199 GB, free: 8.035 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.6811, allocations: 8.562 kB / 1.199 GB, free: 8.035 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6811, allocations: 3.219 kB / 1.199 GB, free: 8.035 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/0.6813, allocations: 99.34 kB / 1.199 GB, free: 7.996 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.6817, allocations: 141.9 kB / 1.199 GB, free: 7.984 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.684, allocations: 3.041 MB / 1.202 GB, free: 5.211 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.6846, allocations: 29.56 kB / 1.202 GB, free: 5.191 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.6847, allocations: 21.88 kB / 1.202 GB, free: 5.188 MB / 1.042 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.0005531/0.6852, allocations: 302.9 kB / 1.203 GB, free: 4.961 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.6853, allocations: 83.41 kB / 1.203 GB, free: 4.918 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.6854, allocations: 93.27 kB / 1.203 GB, free: 4.844 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6854, allocations: 5.5 kB / 1.203 GB, free: 4.844 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6854, allocations: 0 / 1.203 GB, free: 4.844 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007695/0.6862, allocations: 0.8423 MB / 1.204 GB, free: 4.16 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00199/0.6882, allocations: 1.533 MB / 1.205 GB, free: 3.133 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.6882, allocations: 4.312 kB / 1.205 GB, free: 3.133 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003249/0.6885, allocations: 132 kB / 1.205 GB, free: 3.098 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/0.6887, allocations: 70.66 kB / 1.205 GB, free: 3.062 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.6887, allocations: 17.7 kB / 1.205 GB, free: 3.051 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.6898, allocations: 1.647 MB / 1.207 GB, free: 1.555 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6898, allocations: 2.938 kB / 1.207 GB, free: 1.555 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.6908, allocations: 1.06 MB / 1.208 GB, free: 0.8672 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.6911, allocations: 147.6 kB / 1.208 GB, free: 0.7734 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.6912, allocations: 17.92 kB / 1.208 GB, free: 0.7617 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.6915, allocations: 26.36 kB / 1.208 GB, free: 0.75 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.606e-05/0.6916, allocations: 48.66 kB / 1.208 GB, free: 0.7188 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.6917, allocations: 35.47 kB / 1.208 GB, free: 0.7031 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0004428/0.6921, allocations: 451.3 kB / 1.209 GB, free: 456 kB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.6921, allocations: 0 / 1.209 GB, free: 456 kB / 1.042 GB Notification: Performance of remove unused functions: time 0.001018/0.6932, allocations: 280.7 kB / 1.209 GB, free: 432 kB / 1.042 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.0003957/0.6936, allocations: 171.7 kB / 1.209 GB, free: 308 kB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.6947, allocations: 0.7801 MB / 1.21 GB, free: 15.8 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6947, allocations: 3.906 kB / 1.21 GB, free: 15.8 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.6951, allocations: 409.5 kB / 1.21 GB, free: 15.54 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.6964, allocations: 495.9 kB / 1.211 GB, free: 15.3 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.6988, allocations: 1.78 MB / 1.213 GB, free: 14.13 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.6991, allocations: 0.4892 MB / 1.213 GB, free: 13.84 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.6993, allocations: 66.08 kB / 1.213 GB, free: 13.83 MB / 1.057 GB Notification: Performance of SimCode: time 9.31e-07/0.6993, allocations: 4 kB / 1.213 GB, free: 13.83 MB / 1.057 GB Notification: Performance of Templates: time 0.02113/0.7204, allocations: 20.89 MB / 1.233 GB, free: 12.83 MB / 1.073 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.T,volSte.T Variables in the result:gain.y,time,volDyn.T,volDyn.ports[1].m_flow,volSte.T [Calling sys.exit(0), Time elapsed: 9.445771403610706]