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.008833/0.008833, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.00178/0.00178, allocations: 187.3 kB / 16.67 MB, free: 5.465 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.634/2.634, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2978, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.868/1.166, allocations: 190.6 MB / 1.353 GB, free: 2.66 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01089/1.177, allocations: 5.734 MB / 1.358 GB, free: 14.6 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/1.179, allocations: 42 kB / 1.358 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/1.181, allocations: 0.5969 MB / 1.359 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005506/1.187, allocations: 1.915 MB / 1.361 GB, free: 13.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003498/1.19, allocations: 1.2 MB / 1.362 GB, free: 12.54 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004659/1.195, allocations: 2.947 MB / 1.365 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/1.196, allocations: 0.9551 MB / 1.366 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/1.198, allocations: 1.099 MB / 1.367 GB, free: 10.28 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/1.201, allocations: 0.9135 MB / 1.368 GB, free: 9.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002049/1.201, allocations: 107.2 kB / 1.368 GB, free: 9.82 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/1.204, allocations: 1.434 MB / 1.369 GB, free: 9.055 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005348/1.205, allocations: 460 kB / 1.37 GB, free: 8.746 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008543/1.206, allocations: 0.6571 MB / 1.37 GB, free: 8.328 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003401/1.209, allocations: 2.144 MB / 1.372 GB, free: 6.934 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.209, allocations: 5.5 kB / 1.372 GB, free: 6.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.124e-06/1.209, allocations: 0 / 1.372 GB, free: 6.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.704e-05/1.209, allocations: 0 / 1.372 GB, free: 6.93 MB / 1.045 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.002904/1.212, allocations: 1.544 MB / 1.374 GB, free: 5.762 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/1.212, allocations: 13.5 kB / 1.374 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/1.214, allocations: 328.1 kB / 1.374 GB, free: 5.605 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/1.216, allocations: 0.854 MB / 1.375 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-05/1.216, allocations: 63.94 kB / 1.375 GB, free: 4.918 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/1.216, allocations: 88.53 kB / 1.375 GB, free: 4.887 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/1.218, allocations: 0.9171 MB / 1.376 GB, free: 4.367 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/1.218, allocations: 2.125 kB / 1.376 GB, free: 4.367 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.824e-05/1.218, allocations: 36 kB / 1.376 GB, free: 4.34 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/1.218, allocations: 35.23 kB / 1.376 GB, free: 4.332 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/1.219, allocations: 0.8234 MB / 1.377 GB, free: 3.934 MB / 1.045 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.005603/1.225, allocations: 3.513 MB / 1.38 GB, free: 1.156 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/1.226, allocations: 0.4959 MB / 1.381 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/1.226, allocations: 297.5 kB / 1.381 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001884/1.226, allocations: 101 kB / 1.381 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.227, allocations: 51.22 kB / 1.381 GB, free: 0.582 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.194e-06/1.227, allocations: 0 / 1.381 GB, free: 0.582 MB / 1.045 GB Notification: Performance of matching and sorting (n=49): time 0.003905/1.23, allocations: 1.936 MB / 1.383 GB, free: 15.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/1.23, allocations: 56.56 kB / 1.383 GB, free: 15.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009178/1.231, allocations: 0.8065 MB / 1.384 GB, free: 14.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/1.231, allocations: 38.48 kB / 1.384 GB, free: 14.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/1.232, allocations: 480 kB / 1.385 GB, free: 14.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/1.232, allocations: 185 kB / 1.385 GB, free: 14.16 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/1.232, allocations: 114.1 kB / 1.385 GB, free: 14.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.232, allocations: 333.3 kB / 1.385 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004012/1.233, allocations: 237.9 kB / 1.385 GB, free: 13.66 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/1.233, allocations: 363.1 kB / 1.386 GB, free: 13.41 MB / 1.061 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.003485/1.237, allocations: 1.525 MB / 1.387 GB, free: 12.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.237, allocations: 3.656 kB / 1.387 GB, free: 12.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00128/1.238, allocations: 0.7886 MB / 1.388 GB, free: 12.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/1.238, allocations: 8.25 kB / 1.388 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.238, allocations: 2.594 kB / 1.388 GB, free: 12.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/1.238, allocations: 95.22 kB / 1.388 GB, free: 12.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/1.239, allocations: 145.5 kB / 1.388 GB, free: 12.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/1.242, allocations: 3.313 MB / 1.392 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/1.243, allocations: 33.83 kB / 1.392 GB, free: 8.812 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.915e-05/1.243, allocations: 27.2 kB / 1.392 GB, free: 8.801 MB / 1.061 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.0007611/1.244, allocations: 294.4 kB / 1.392 GB, free: 8.582 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/1.244, allocations: 96.64 kB / 1.392 GB, free: 8.531 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/1.245, allocations: 108.1 kB / 1.392 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.245, allocations: 5.031 kB / 1.392 GB, free: 8.445 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/1.245, allocations: 6.703 kB / 1.392 GB, free: 8.441 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/1.246, allocations: 0.8439 MB / 1.393 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003413/1.249, allocations: 1.789 MB / 1.395 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/1.249, allocations: 5 kB / 1.395 GB, free: 6.488 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/1.25, allocations: 126.5 kB / 1.395 GB, free: 6.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002553/1.25, allocations: 72.44 kB / 1.395 GB, free: 6.418 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/1.25, allocations: 9.812 kB / 1.395 GB, free: 6.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/1.252, allocations: 1.796 MB / 1.397 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.252, allocations: 4.75 kB / 1.397 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/1.254, allocations: 1.065 MB / 1.398 GB, free: 4.039 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005356/1.254, allocations: 249.6 kB / 1.398 GB, free: 3.828 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/1.254, allocations: 14.75 kB / 1.398 GB, free: 3.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006535/1.255, allocations: 27.77 kB / 1.398 GB, free: 3.809 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/1.255, allocations: 49.34 kB / 1.398 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.329e-05/1.255, allocations: 31.92 kB / 1.398 GB, free: 3.766 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0007342/1.256, allocations: 0.5561 MB / 1.399 GB, free: 3.457 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/1.256, allocations: 0 / 1.399 GB, free: 3.457 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000953/1.257, allocations: 279.5 kB / 1.399 GB, free: 3.438 MB / 1.061 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.0004689/1.257, allocations: 186.9 kB / 1.399 GB, free: 3.305 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001378/1.259, allocations: 0.8148 MB / 1.4 GB, free: 2.793 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.259, allocations: 2.875 kB / 1.4 GB, free: 2.793 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005696/1.259, allocations: 407.9 kB / 1.4 GB, free: 2.539 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/1.262, allocations: 0.6125 MB / 1.401 GB, free: 2.219 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/1.265, allocations: 1.819 MB / 1.403 GB, free: 1.027 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008959/1.266, allocations: 1.094 MB / 1.404 GB, free: 140 kB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0007707/1.267, allocations: 211.2 kB / 1.404 GB, free: 40 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/1.267, allocations: 65.03 kB / 1.404 GB, free: 32 kB / 1.061 GB Notification: Performance of SimCode: time 9.32e-07/1.267, allocations: 0 / 1.404 GB, free: 32 kB / 1.061 GB Notification: Performance of Templates: time 0.03679/1.304, allocations: 20.76 MB / 1.424 GB, free: 11.75 MB / 1.092 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches