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.001216/0.001216, allocations: 110.3 kB / 16.41 MB, free: 6.5 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.001164/0.001164, allocations: 183 kB / 17.34 MB, free: 5.762 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.611/2.611, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 59.91 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8548, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.209/1.064, allocations: 190.6 MB / 1.353 GB, free: 4.562 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009746/1.074, allocations: 5.736 MB / 1.359 GB, free: 14.81 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/1.075, allocations: 43.75 kB / 1.359 GB, free: 14.77 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/1.077, allocations: 0.602 MB / 1.36 GB, free: 14.16 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005111/1.082, allocations: 1.911 MB / 1.362 GB, free: 12.25 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003291/1.085, allocations: 1.193 MB / 1.363 GB, free: 11.06 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004173/1.09, allocations: 2.949 MB / 1.366 GB, free: 8.102 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/1.091, allocations: 0.9499 MB / 1.367 GB, free: 7.141 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/1.094, allocations: 1.097 MB / 1.368 GB, free: 6.039 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/1.096, allocations: 0.9136 MB / 1.368 GB, free: 5.129 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003452/1.096, allocations: 108 kB / 1.369 GB, free: 5.023 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003331/1.1, allocations: 1.442 MB / 1.37 GB, free: 3.578 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000705/1.1, allocations: 462.8 kB / 1.37 GB, free: 3.125 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001411/1.102, allocations: 0.6456 MB / 1.371 GB, free: 2.477 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004347/1.106, allocations: 2.145 MB / 1.373 GB, free: 332 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.106, allocations: 0 / 1.373 GB, free: 332 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.194e-06/1.106, allocations: 4 kB / 1.373 GB, free: 328 kB / 1.092 GB Notification: Performance of Transformations before backend: time 6.327e-05/1.106, allocations: 0 / 1.373 GB, free: 328 kB / 1.092 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.003509/1.11, allocations: 1.545 MB / 1.375 GB, free: 14.71 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/1.11, allocations: 8.922 kB / 1.375 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/1.112, allocations: 323 kB / 1.375 GB, free: 14.39 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/1.114, allocations: 0.8754 MB / 1.376 GB, free: 13.47 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.642e-05/1.114, allocations: 62 kB / 1.376 GB, free: 13.41 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/1.114, allocations: 83.98 kB / 1.376 GB, free: 13.33 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/1.116, allocations: 0.9082 MB / 1.377 GB, free: 12.42 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/1.116, allocations: 3.984 kB / 1.377 GB, free: 12.42 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.116, allocations: 40 kB / 1.377 GB, free: 12.38 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/1.116, allocations: 30 kB / 1.377 GB, free: 12.35 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/1.118, allocations: 0.8353 MB / 1.378 GB, free: 11.51 MB / 1.107 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.006509/1.124, allocations: 3.51 MB / 1.381 GB, free: 7.777 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008602/1.125, allocations: 0.4975 MB / 1.382 GB, free: 7.273 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/1.126, allocations: 294 kB / 1.382 GB, free: 6.984 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/1.126, allocations: 109.5 kB / 1.382 GB, free: 6.859 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/1.126, allocations: 46.75 kB / 1.382 GB, free: 6.809 MB / 1.107 GB Notification: Performance of pre-optimization done (n=47): time 2.915e-06/1.126, allocations: 0 / 1.382 GB, free: 6.809 MB / 1.107 GB Notification: Performance of matching and sorting (n=49): time 0.004483/1.13, allocations: 1.932 MB / 1.384 GB, free: 4.781 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/1.131, allocations: 59.84 kB / 1.384 GB, free: 4.711 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/1.132, allocations: 0.8058 MB / 1.385 GB, free: 3.898 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.969e-05/1.132, allocations: 37.7 kB / 1.385 GB, free: 3.855 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/1.132, allocations: 484.3 kB / 1.385 GB, free: 3.379 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/1.132, allocations: 182.4 kB / 1.386 GB, free: 3.199 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/1.133, allocations: 110.3 kB / 1.386 GB, free: 3.086 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.133, allocations: 333.9 kB / 1.386 GB, free: 2.754 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/1.133, allocations: 241.2 kB / 1.386 GB, free: 2.52 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/1.134, allocations: 357.2 kB / 1.387 GB, free: 2.133 MB / 1.107 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.003846/1.138, allocations: 1.534 MB / 1.388 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/1.138, allocations: 0 / 1.388 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001473/1.139, allocations: 0.7852 MB / 1.389 GB, free: 15.74 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/1.139, allocations: 8 kB / 1.389 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.139, allocations: 4 kB / 1.389 GB, free: 15.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000313/1.139, allocations: 93.64 kB / 1.389 GB, free: 15.63 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/1.14, allocations: 148 kB / 1.389 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/1.143, allocations: 3.313 MB / 1.392 GB, free: 11.9 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/1.144, allocations: 23.92 kB / 1.392 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/1.144, allocations: 24 kB / 1.392 GB, free: 11.85 MB / 1.123 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.0005299/1.145, allocations: 301.8 kB / 1.393 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002629/1.145, allocations: 95.44 kB / 1.393 GB, free: 11.45 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/1.145, allocations: 104.7 kB / 1.393 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/1.145, allocations: 4 kB / 1.393 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.145, allocations: 0 / 1.393 GB, free: 11.34 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001152/1.147, allocations: 0.8465 MB / 1.394 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/1.15, allocations: 1.795 MB / 1.395 GB, free: 8.512 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.15, allocations: 4 kB / 1.395 GB, free: 8.508 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006211/1.15, allocations: 132.2 kB / 1.395 GB, free: 8.379 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/1.151, allocations: 68.81 kB / 1.396 GB, free: 8.309 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/1.151, allocations: 12 kB / 1.396 GB, free: 8.297 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/1.153, allocations: 1.785 MB / 1.397 GB, free: 6.375 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.153, allocations: 7.938 kB / 1.397 GB, free: 6.367 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/1.154, allocations: 1.066 MB / 1.398 GB, free: 5.242 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005689/1.155, allocations: 248.3 kB / 1.399 GB, free: 4.98 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/1.155, allocations: 12 kB / 1.399 GB, free: 4.969 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/1.156, allocations: 39.8 kB / 1.399 GB, free: 4.934 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.156, allocations: 39.83 kB / 1.399 GB, free: 4.895 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/1.156, allocations: 31.98 kB / 1.399 GB, free: 4.863 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008548/1.157, allocations: 0.5615 MB / 1.399 GB, free: 4.309 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.01e-07/1.157, allocations: 0 / 1.399 GB, free: 4.309 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001053/1.158, allocations: 280 kB / 1.4 GB, free: 4.035 MB / 1.123 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.159, allocations: 196.1 kB / 1.4 GB, free: 3.84 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00147/1.16, allocations: 0.8115 MB / 1.401 GB, free: 3.008 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.16, allocations: 4 kB / 1.401 GB, free: 3.004 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0006339/1.161, allocations: 411.7 kB / 1.401 GB, free: 2.59 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/1.164, allocations: 0.6008 MB / 1.401 GB, free: 2 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/1.167, allocations: 1.888 MB / 1.403 GB, free: 32 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/1.168, allocations: 1.087 MB / 1.404 GB, free: 14.91 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/1.168, allocations: 75.44 kB / 1.404 GB, free: 14.84 MB / 1.139 GB Notification: Performance of SimCode: time 5.21e-07/1.168, allocations: 0 / 1.404 GB, free: 14.84 MB / 1.139 GB Notification: Performance of Templates: time 0.03278/1.201, allocations: 21.98 MB / 1.426 GB, free: 8.98 MB / 1.154 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=480 -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