Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 77.23 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 158.4 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.614/2.614, allocations: 359.1 MB / 0.6044 GB, free: 14.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.1..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 67.89 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3492, allocations: 169.9 MB / 1.117 GB, free: 2.609 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.843/1.192, allocations: 150.9 MB / 1.265 GB, free: 10.41 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008999/1.201, allocations: 4.046 MB / 1.269 GB, free: 7.68 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/1.203, allocations: 30.44 kB / 1.269 GB, free: 7.664 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/1.205, allocations: 330.8 kB / 1.269 GB, free: 7.496 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005065/1.21, allocations: 1.285 MB / 1.27 GB, free: 6.793 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00294/1.213, allocations: 0.807 MB / 1.271 GB, free: 6.371 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.003588/1.216, allocations: 1.723 MB / 1.273 GB, free: 5.578 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/1.217, allocations: 432.1 kB / 1.273 GB, free: 5.398 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/1.219, allocations: 0.7331 MB / 1.274 GB, free: 5.062 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/1.221, allocations: 0.569 MB / 1.275 GB, free: 4.852 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002834/1.222, allocations: 65.06 kB / 1.275 GB, free: 4.852 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/1.224, allocations: 0.6725 MB / 1.275 GB, free: 4.613 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005993/1.225, allocations: 277.7 kB / 1.275 GB, free: 4.492 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007497/1.225, allocations: 342.1 kB / 1.276 GB, free: 4.332 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/1.228, allocations: 1.259 MB / 1.277 GB, free: 3.891 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.228, allocations: 1 kB / 1.277 GB, free: 3.891 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.523e-06/1.228, allocations: 0 / 1.277 GB, free: 3.891 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.512e-05/1.228, allocations: 0 / 1.277 GB, free: 3.891 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002228/1.231, allocations: 0.9776 MB / 1.278 GB, free: 3.242 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/1.231, allocations: 9.156 kB / 1.278 GB, free: 3.242 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/1.232, allocations: 168 kB / 1.278 GB, free: 3.191 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/1.233, allocations: 482.9 kB / 1.279 GB, free: 2.883 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/1.233, allocations: 46.66 kB / 1.279 GB, free: 2.859 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/1.233, allocations: 50.41 kB / 1.279 GB, free: 2.844 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001583/1.234, allocations: 1 MB / 1.28 GB, free: 2.137 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/1.234, allocations: 7.984 kB / 1.28 GB, free: 2.129 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-05/1.234, allocations: 26.34 kB / 1.28 GB, free: 2.109 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/1.234, allocations: 23.98 kB / 1.28 GB, free: 2.105 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/1.236, allocations: 0.5098 MB / 1.28 GB, free: 1.941 MB / 1.123 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.003413/1.239, allocations: 1.556 MB / 1.282 GB, free: 1.094 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/1.239, allocations: 241.6 kB / 1.282 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/1.24, allocations: 129.2 kB / 1.282 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/1.24, allocations: 11.16 kB / 1.282 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/1.24, allocations: 39.2 kB / 1.282 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 1.814e-06/1.24, allocations: 4 kB / 1.282 GB, free: 0.8945 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.001754/1.242, allocations: 0.5065 MB / 1.283 GB, free: 0.707 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.789e-05/1.242, allocations: 81 kB / 1.283 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006329/1.242, allocations: 443.6 kB / 1.283 GB, free: 408 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/1.242, allocations: 32.58 kB / 1.283 GB, free: 372 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/1.243, allocations: 354.2 kB / 1.284 GB, free: 84 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/1.243, allocations: 72.11 kB / 1.284 GB, free: 28 kB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/1.243, allocations: 74.58 kB / 1.284 GB, free: 15.98 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001915/1.243, allocations: 353.2 kB / 1.284 GB, free: 15.65 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/1.243, allocations: 129.9 kB / 1.284 GB, free: 15.61 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/1.244, allocations: 241.6 kB / 1.284 GB, free: 15.44 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/1.244, allocations: 339.8 kB / 1.285 GB, free: 15.25 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.244, allocations: 1.312 kB / 1.285 GB, free: 15.25 MB / 1.139 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001022/1.245, allocations: 484.6 kB / 1.285 GB, free: 15.04 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.245, allocations: 6.875 kB / 1.285 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/1.245, allocations: 2.922 kB / 1.285 GB, free: 15.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/1.246, allocations: 98.73 kB / 1.285 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/1.246, allocations: 71.45 kB / 1.285 GB, free: 15 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/1.25, allocations: 3.07 MB / 1.288 GB, free: 12.3 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/1.25, allocations: 42.78 kB / 1.288 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/1.25, allocations: 10.09 kB / 1.288 GB, free: 12.27 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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,5), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004111/1.251, allocations: 226.3 kB / 1.289 GB, free: 12.1 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.251, allocations: 47.27 kB / 1.289 GB, free: 12.07 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.572e-05/1.251, allocations: 46.84 kB / 1.289 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/1.251, allocations: 2 kB / 1.289 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.251, allocations: 5.125 kB / 1.289 GB, free: 12.04 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008361/1.252, allocations: 0.529 MB / 1.289 GB, free: 11.61 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/1.253, allocations: 0.7547 MB / 1.29 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.253, allocations: 1.094 kB / 1.29 GB, free: 11.18 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/1.253, allocations: 43.86 kB / 1.29 GB, free: 11.17 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002237/1.253, allocations: 65.8 kB / 1.29 GB, free: 11.15 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/1.254, allocations: 7.328 kB / 1.29 GB, free: 11.14 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/1.255, allocations: 1.687 MB / 1.292 GB, free: 9.734 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.255, allocations: 1.344 kB / 1.292 GB, free: 9.734 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007486/1.256, allocations: 433.5 kB / 1.292 GB, free: 9.473 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/1.256, allocations: 81.83 kB / 1.292 GB, free: 9.43 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/1.257, allocations: 2.828 kB / 1.292 GB, free: 9.43 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/1.257, allocations: 19.3 kB / 1.292 GB, free: 9.426 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.68e-05/1.257, allocations: 19.83 kB / 1.292 GB, free: 9.422 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/1.257, allocations: 19.97 kB / 1.292 GB, free: 9.414 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004237/1.258, allocations: 305.1 kB / 1.293 GB, free: 9.266 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.258, allocations: 0 / 1.293 GB, free: 9.266 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008369/1.258, allocations: 218.4 kB / 1.293 GB, free: 9.223 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (15): * Single equations (assignments): 14 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003088/1.259, allocations: 152.3 kB / 1.293 GB, free: 9.113 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001021/1.26, allocations: 0.5175 MB / 1.293 GB, free: 8.793 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.26, allocations: 1.375 kB / 1.293 GB, free: 8.793 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004245/1.26, allocations: 255 kB / 1.294 GB, free: 8.629 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.261, allocations: 264.8 kB / 1.294 GB, free: 8.574 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/1.263, allocations: 0.9823 MB / 1.295 GB, free: 8.031 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/1.264, allocations: 313.1 kB / 1.295 GB, free: 7.914 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004137/1.264, allocations: 94.03 kB / 1.295 GB, free: 7.883 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/1.264, allocations: 35.17 kB / 1.295 GB, free: 7.875 MB / 1.139 GB Notification: Performance of SimCode: time 5.81e-07/1.264, allocations: 0 / 1.295 GB, free: 7.875 MB / 1.139 GB Notification: Performance of Templates: time 0.02156/1.286, allocations: 10.61 MB / 1.306 GB, free: 4.062 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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: 9.361509836046025]