Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001615/0.001615, allocations: 104.7 kB / 15.98 MB, free: 6.336 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.001541/0.001541, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.642/2.642, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 62.72 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3466, allocations: 159.2 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.7542/1.101, allocations: 188.1 MB / 1.248 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009862/1.111, allocations: 5.7 MB / 1.253 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/1.112, allocations: 35.75 kB / 1.253 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001595/1.114, allocations: 0.5168 MB / 1.254 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004756/1.119, allocations: 1.731 MB / 1.256 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003192/1.122, allocations: 1.096 MB / 1.257 GB, free: 3.992 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004281/1.126, allocations: 2.936 MB / 1.26 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/1.128, allocations: 0.9273 MB / 1.26 GB, free: 112 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002198/1.13, allocations: 1.055 MB / 1.262 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/1.132, allocations: 0.9822 MB / 1.262 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/1.132, allocations: 112 kB / 1.263 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/1.136, allocations: 1.5 MB / 1.264 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006457/1.136, allocations: 466.8 kB / 1.264 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009854/1.137, allocations: 0.6572 MB / 1.265 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002577/1.14, allocations: 1.61 MB / 1.267 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/1.14, allocations: 0 / 1.267 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/1.14, allocations: 0 / 1.267 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.36e-05/1.14, allocations: 0 / 1.267 GB, free: 9.734 MB / 0.9825 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.002798/1.143, allocations: 1.523 MB / 1.268 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/1.143, allocations: 8.031 kB / 1.268 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002053/1.145, allocations: 322.3 kB / 1.268 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/1.147, allocations: 0.8162 MB / 1.269 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/1.147, allocations: 58 kB / 1.269 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/1.147, allocations: 84 kB / 1.269 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/1.149, allocations: 0.917 MB / 1.27 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/1.149, allocations: 0 / 1.27 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/1.149, allocations: 40 kB / 1.27 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/1.149, allocations: 30 kB / 1.27 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/1.15, allocations: 0.8314 MB / 1.271 GB, free: 5.012 MB / 0.9825 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.006174/1.157, allocations: 3.521 MB / 1.275 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009192/1.157, allocations: 0.4926 MB / 1.275 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005101/1.158, allocations: 302 kB / 1.275 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/1.158, allocations: 101.5 kB / 1.276 GB, free: 364 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/1.158, allocations: 47 kB / 1.276 GB, free: 308 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 3.206e-06/1.158, allocations: 0 / 1.276 GB, free: 308 kB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.004528/1.163, allocations: 1.915 MB / 1.277 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/1.163, allocations: 67.78 kB / 1.277 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/1.164, allocations: 0.8058 MB / 1.278 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.225e-05/1.164, allocations: 37.7 kB / 1.278 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/1.165, allocations: 475.3 kB / 1.279 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/1.165, allocations: 173.4 kB / 1.279 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/1.165, allocations: 118.2 kB / 1.279 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001844/1.165, allocations: 329.9 kB / 1.279 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004603/1.166, allocations: 237.2 kB / 1.28 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/1.166, allocations: 361.2 kB / 1.28 GB, free: 11.64 MB / 0.9981 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.00383/1.17, allocations: 1.53 MB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/1.17, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001485/1.172, allocations: 0.7848 MB / 1.282 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.172, allocations: 8 kB / 1.282 GB, free: 9.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.172, allocations: 4 kB / 1.282 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/1.172, allocations: 93.66 kB / 1.282 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/1.173, allocations: 147.8 kB / 1.282 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/1.176, allocations: 3.301 MB / 1.286 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/1.177, allocations: 63.86 kB / 1.286 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/1.177, allocations: 27.94 kB / 1.286 GB, free: 5.324 MB / 0.9981 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.0005781/1.178, allocations: 301.6 kB / 1.286 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/1.178, allocations: 94.91 kB / 1.286 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/1.178, allocations: 96.72 kB / 1.286 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.178, allocations: 8 kB / 1.286 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.178, allocations: 0 / 1.286 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001164/1.18, allocations: 0.8504 MB / 1.287 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/1.183, allocations: 1.794 MB / 1.289 GB, free: 1.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/1.183, allocations: 4.406 kB / 1.289 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000613/1.183, allocations: 131.8 kB / 1.289 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002461/1.184, allocations: 68.81 kB / 1.289 GB, free: 1.785 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/1.184, allocations: 11.98 kB / 1.289 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/1.186, allocations: 1.785 MB / 1.291 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/1.186, allocations: 7.938 kB / 1.291 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/1.187, allocations: 1.068 MB / 1.292 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005601/1.188, allocations: 240 kB / 1.292 GB, free: 14.46 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/1.188, allocations: 19.98 kB / 1.292 GB, free: 14.44 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007704/1.189, allocations: 61.69 kB / 1.292 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.189, allocations: 43.83 kB / 1.292 GB, free: 14.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/1.189, allocations: 31.98 kB / 1.292 GB, free: 14.31 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000841/1.19, allocations: 0.5576 MB / 1.293 GB, free: 13.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.61e-07/1.19, allocations: 4 kB / 1.293 GB, free: 13.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001031/1.191, allocations: 288 kB / 1.293 GB, free: 13.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.000645/1.192, allocations: 194.8 kB / 1.293 GB, free: 13.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001581/1.193, allocations: 0.867 MB / 1.294 GB, free: 12.39 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.193, allocations: 4 kB / 1.294 GB, free: 12.38 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006268/1.194, allocations: 402.3 kB / 1.294 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.197, allocations: 0.607 MB / 1.295 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/1.201, allocations: 2.246 MB / 1.297 GB, free: 9.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000873/1.201, allocations: 1.076 MB / 1.298 GB, free: 7.965 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/1.202, allocations: 75.44 kB / 1.298 GB, free: 7.891 MB / 1.014 GB Notification: Performance of SimCode: time 1.382e-06/1.202, allocations: 0 / 1.298 GB, free: 7.891 MB / 1.014 GB Notification: Performance of Templates: time 0.03258/1.234, allocations: 21.9 MB / 1.32 GB, free: 2.121 MB / 1.029 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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