Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 189 kB / 22.1 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.292/3.292, allocations: 495.8 MB / 0.783 GB, free: 33.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.T|volSte.T",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 67.45 kB / 1.137 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4511, allocations: 173.6 MB / 1.307 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2593/0.7104, allocations: 189.6 MB / 1.492 GB, free: 3.457 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.7224, allocations: 5.754 MB / 1.498 GB, free: 13.69 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.7244, allocations: 55.56 kB / 1.498 GB, free: 13.63 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.7263, allocations: 0.6097 MB / 1.498 GB, free: 13.02 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006699/0.733, allocations: 1.953 MB / 1.5 GB, free: 11.06 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.7371, allocations: 1.229 MB / 1.501 GB, free: 9.836 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005839/0.743, allocations: 3.033 MB / 1.504 GB, free: 6.801 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.7446, allocations: 0.7436 MB / 1.505 GB, free: 6.043 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004393/0.749, allocations: 1.312 MB / 1.506 GB, free: 4.727 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004026/0.753, allocations: 0.9705 MB / 1.507 GB, free: 3.762 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004659/0.7535, allocations: 108 kB / 1.507 GB, free: 3.656 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003687/0.7572, allocations: 1.184 MB / 1.508 GB, free: 2.469 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007471/0.7579, allocations: 474.6 kB / 1.509 GB, free: 2.004 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.7592, allocations: 0.6611 MB / 1.51 GB, free: 1.34 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004342/0.7635, allocations: 2.087 MB / 1.512 GB, free: 15.25 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.7635, allocations: 4 kB / 1.512 GB, free: 15.24 MB / 1.217 GB Notification: Performance of FrontEnd: time 4.638e-06/0.7635, allocations: 3.938 kB / 1.512 GB, free: 15.24 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.899e-05/0.7635, allocations: 3.938 kB / 1.512 GB, free: 15.23 MB / 1.217 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.003279/0.7668, allocations: 1.473 MB / 1.513 GB, free: 13.72 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.7669, allocations: 8.031 kB / 1.513 GB, free: 13.71 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/0.7691, allocations: 319 kB / 1.513 GB, free: 13.4 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.7708, allocations: 0.7838 MB / 1.514 GB, free: 12.59 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-05/0.7709, allocations: 62 kB / 1.514 GB, free: 12.53 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.771, allocations: 88 kB / 1.514 GB, free: 12.45 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.7729, allocations: 0.9091 MB / 1.515 GB, free: 11.53 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.7729, allocations: 3.953 kB / 1.515 GB, free: 11.53 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.773, allocations: 36 kB / 1.515 GB, free: 11.49 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/0.7731, allocations: 37.94 kB / 1.515 GB, free: 11.45 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.7747, allocations: 0.8237 MB / 1.516 GB, free: 10.63 MB / 1.217 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.006412/0.7811, allocations: 3.456 MB / 1.519 GB, free: 6.953 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008748/0.782, allocations: 486 kB / 1.52 GB, free: 6.469 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.7825, allocations: 278 kB / 1.52 GB, free: 6.195 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.7827, allocations: 28.42 kB / 1.52 GB, free: 6.168 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.7827, allocations: 46.98 kB / 1.52 GB, free: 6.113 MB / 1.217 GB Notification: Performance of pre-optimization done (n=47): time 2.355e-06/0.7827, allocations: 0 / 1.52 GB, free: 6.113 MB / 1.217 GB Notification: Performance of matching and sorting (n=49): time 0.004588/0.7873, allocations: 1.706 MB / 1.522 GB, free: 4.367 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.7874, allocations: 59.84 kB / 1.522 GB, free: 4.293 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.7886, allocations: 0.8058 MB / 1.523 GB, free: 3.48 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.159e-05/0.7886, allocations: 37.7 kB / 1.523 GB, free: 3.438 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/0.7891, allocations: 480.2 kB / 1.523 GB, free: 2.965 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.7893, allocations: 182.4 kB / 1.523 GB, free: 2.785 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.7896, allocations: 114.3 kB / 1.524 GB, free: 2.668 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.7898, allocations: 333.9 kB / 1.524 GB, free: 2.336 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.7902, allocations: 241.2 kB / 1.524 GB, free: 2.102 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.7908, allocations: 353.2 kB / 1.524 GB, free: 1.719 MB / 1.217 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.004119/0.795, allocations: 1.46 MB / 1.526 GB, free: 228 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.795, allocations: 0 / 1.526 GB, free: 228 kB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001635/0.7966, allocations: 0.7838 MB / 1.527 GB, free: 15.43 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.7966, allocations: 8 kB / 1.527 GB, free: 15.42 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7966, allocations: 0 / 1.527 GB, free: 15.42 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003548/0.797, allocations: 97.58 kB / 1.527 GB, free: 15.32 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/0.7977, allocations: 135.9 kB / 1.527 GB, free: 15.19 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003534/0.8012, allocations: 3.098 MB / 1.53 GB, free: 11.86 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.8022, allocations: 31.92 kB / 1.53 GB, free: 11.83 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/0.8023, allocations: 20 kB / 1.53 GB, free: 11.81 MB / 1.232 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.0006024/0.8029, allocations: 306.6 kB / 1.53 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.8031, allocations: 95.38 kB / 1.53 GB, free: 11.41 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.8033, allocations: 112.7 kB / 1.53 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.8033, allocations: 8 kB / 1.53 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8033, allocations: 0 / 1.53 GB, free: 11.29 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001285/0.8046, allocations: 0.8426 MB / 1.531 GB, free: 10.36 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/0.8079, allocations: 1.761 MB / 1.533 GB, free: 8.5 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.8079, allocations: 4 kB / 1.533 GB, free: 8.496 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006529/0.8085, allocations: 123.9 kB / 1.533 GB, free: 8.375 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002668/0.8088, allocations: 73.14 kB / 1.533 GB, free: 8.301 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.159e-05/0.8088, allocations: 16 kB / 1.533 GB, free: 8.285 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.8108, allocations: 1.675 MB / 1.535 GB, free: 6.5 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.8108, allocations: 7.938 kB / 1.535 GB, free: 6.492 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.8128, allocations: 1.074 MB / 1.536 GB, free: 5.359 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/0.8133, allocations: 167.2 kB / 1.536 GB, free: 5.195 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.8134, allocations: 12 kB / 1.536 GB, free: 5.184 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007288/0.8141, allocations: 33.09 kB / 1.536 GB, free: 5.152 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.8143, allocations: 55.73 kB / 1.536 GB, free: 5.098 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/0.8143, allocations: 23.98 kB / 1.536 GB, free: 5.074 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008778/0.8152, allocations: 0.5654 MB / 1.537 GB, free: 4.516 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8152, allocations: 0 / 1.537 GB, free: 4.516 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009893/0.8162, allocations: 276 kB / 1.537 GB, free: 4.246 MB / 1.232 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.0005405/0.8167, allocations: 191.4 kB / 1.537 GB, free: 4.055 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.8182, allocations: 0.784 MB / 1.538 GB, free: 3.238 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.8182, allocations: 7.938 kB / 1.538 GB, free: 3.23 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006543/0.8189, allocations: 399.5 kB / 1.538 GB, free: 2.828 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.8216, allocations: 0.6121 MB / 1.539 GB, free: 2.23 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.8251, allocations: 1.845 MB / 1.541 GB, free: 316 kB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009311/0.826, allocations: 1.084 MB / 1.542 GB, free: 15.2 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0009172/0.8269, allocations: 215.7 kB / 1.542 GB, free: 14.98 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.8271, allocations: 71.42 kB / 1.542 GB, free: 14.91 MB / 1.248 GB Notification: Performance of SimCode: time 1.513e-06/0.8271, allocations: 0 / 1.542 GB, free: 14.91 MB / 1.248 GB Notification: Performance of Templates: time 0.04171/0.8688, allocations: 21.29 MB / 1.563 GB, free: 9.902 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.716986273415387]