Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001748/0.001748, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.0019/0.0019, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.428/1.428, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437.1 MB / 0.7107 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.89 kB / 0.8694 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6873, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.231/0.9184, allocations: 188.1 MB / 1.201 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.9288, allocations: 5.688 MB / 1.207 GB, free: 184 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.9305, allocations: 31.81 kB / 1.207 GB, free: 152 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.9324, allocations: 0.5208 MB / 1.207 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.005238/0.9376, allocations: 1.731 MB / 1.209 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003306/0.941, allocations: 1.09 MB / 1.21 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004416/0.9454, allocations: 2.936 MB / 1.213 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.947, allocations: 0.942 MB / 1.214 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.9492, allocations: 1.055 MB / 1.215 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.9517, allocations: 0.9796 MB / 1.216 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002617/0.952, allocations: 112 kB / 1.216 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.9553, allocations: 1.5 MB / 1.217 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005924/0.9559, allocations: 462.8 kB / 1.218 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009774/0.9569, allocations: 0.6612 MB / 1.218 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.9594, allocations: 1.614 MB / 1.22 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.9594, allocations: 4 kB / 1.22 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9594, allocations: 0 / 1.22 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.066e-05/0.9594, allocations: 0 / 1.22 GB, free: 2.52 MB / 0.9669 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.002884/0.9623, allocations: 1.515 MB / 1.222 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.9624, allocations: 8.031 kB / 1.222 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/0.9645, allocations: 314.3 kB / 1.222 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.966, allocations: 0.8086 MB / 1.223 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.9661, allocations: 66 kB / 1.223 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.9662, allocations: 91.89 kB / 1.223 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.968, allocations: 0.9209 MB / 1.224 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.968, allocations: 0 / 1.224 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.622e-05/0.9681, allocations: 36 kB / 1.224 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/0.9682, allocations: 30 kB / 1.224 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.9697, allocations: 0.8314 MB / 1.225 GB, free: 13.8 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.00596/0.9757, allocations: 3.516 MB / 1.228 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008405/0.9765, allocations: 0.4972 MB / 1.228 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.977, allocations: 295.9 kB / 1.229 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.9773, allocations: 105.5 kB / 1.229 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.9773, allocations: 39 kB / 1.229 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.9773, allocations: 0 / 1.229 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49): time 0.00444/0.9818, allocations: 1.919 MB / 1.231 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.9818, allocations: 55.84 kB / 1.231 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.983, allocations: 0.8097 MB / 1.232 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.086e-05/0.983, allocations: 37.64 kB / 1.232 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.9835, allocations: 483.4 kB / 1.232 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.9837, allocations: 173.5 kB / 1.232 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.9839, allocations: 114.2 kB / 1.232 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.9841, allocations: 333.9 kB / 1.233 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.9845, allocations: 241.2 kB / 1.233 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005587/0.9851, allocations: 353.2 kB / 1.233 GB, free: 4.434 MB / 0.9825 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.00389/0.989, allocations: 1.534 MB / 1.235 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.989, allocations: 4 kB / 1.235 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001536/0.9905, allocations: 0.7884 MB / 1.236 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.9906, allocations: 8 kB / 1.236 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.9906, allocations: 0 / 1.236 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003389/0.9909, allocations: 93.97 kB / 1.236 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.9916, allocations: 143.8 kB / 1.236 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.9951, allocations: 3.319 MB / 1.239 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009844/0.9961, allocations: 59.73 kB / 1.239 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.9962, allocations: 24 kB / 1.239 GB, free: 14.12 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.00054/0.9967, allocations: 299.3 kB / 1.239 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.9969, allocations: 90.97 kB / 1.239 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.9971, allocations: 104.7 kB / 1.24 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.9971, allocations: 4 kB / 1.24 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9971, allocations: 4 kB / 1.24 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/0.9983, allocations: 0.8426 MB / 1.24 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/1.001, allocations: 1.803 MB / 1.242 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.001, allocations: 192 / 1.242 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/1.002, allocations: 131.8 kB / 1.242 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/1.002, allocations: 64.81 kB / 1.242 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.214e-05/1.002, allocations: 24.11 kB / 1.242 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001943/1.004, allocations: 1.777 MB / 1.244 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.004, allocations: 11.91 kB / 1.244 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/1.006, allocations: 1.072 MB / 1.245 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/1.007, allocations: 235.9 kB / 1.245 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.007, allocations: 12 kB / 1.245 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007978/1.007, allocations: 72.03 kB / 1.245 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.008, allocations: 51.83 kB / 1.246 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.867e-05/1.008, allocations: 27.98 kB / 1.246 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007936/1.009, allocations: 0.5537 MB / 1.246 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.009, allocations: 0 / 1.246 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009658/1.009, allocations: 292 kB / 1.246 GB, free: 6.254 MB / 0.9981 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.0004851/1.01, allocations: 195 kB / 1.247 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001636/1.012, allocations: 0.8546 MB / 1.247 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/1.012, allocations: 11.84 kB / 1.247 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006289/1.012, allocations: 403.7 kB / 1.248 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/1.015, allocations: 0.6027 MB / 1.248 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/1.018, allocations: 2.231 MB / 1.251 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000831/1.019, allocations: 1.084 MB / 1.252 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/1.019, allocations: 71.44 kB / 1.252 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of SimCode: time 1.072e-06/1.019, allocations: 0 / 1.252 GB, free: 0.6797 MB / 0.9981 GB Notification: Performance of Templates: time 0.527/1.546, allocations: 21.89 MB / 1.273 GB, free: 225.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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