Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.001288/0.001288, allocations: 102 kB / 16.45 MB, free: 6.445 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.001282/0.001282, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.381/1.381, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.73/2.73, allocations: 497.2 MB / 0.7812 GB, free: 11.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 68.11 kB / 1.134 GB, free: 13.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 173.9 MB / 1.304 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2302/1.267, allocations: 171.7 MB / 1.472 GB, free: 3.465 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.009326/1.277, allocations: 4.32 MB / 1.476 GB, free: 428 kB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/1.278, allocations: 26.38 kB / 1.476 GB, free: 416 kB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002112/1.28, allocations: 374.2 kB / 1.476 GB, free: 216 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005937/1.286, allocations: 1.27 MB / 1.477 GB, free: 15.26 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/1.289, allocations: 0.8025 MB / 1.478 GB, free: 14.65 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003558/1.293, allocations: 1.695 MB / 1.48 GB, free: 13.68 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/1.294, allocations: 489.3 kB / 1.48 GB, free: 13.36 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/1.296, allocations: 0.7727 MB / 1.481 GB, free: 12.91 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/1.298, allocations: 0.5856 MB / 1.482 GB, free: 12.56 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002643/1.299, allocations: 66.28 kB / 1.482 GB, free: 12.56 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00269/1.301, allocations: 0.8386 MB / 1.483 GB, free: 12.11 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006465/1.302, allocations: 279.2 kB / 1.483 GB, free: 11.92 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001328/1.303, allocations: 405.6 kB / 1.483 GB, free: 11.67 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003606/1.307, allocations: 1.261 MB / 1.484 GB, free: 10.85 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.307, allocations: 0.9062 kB / 1.484 GB, free: 10.85 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.714e-06/1.307, allocations: 3.938 kB / 1.484 GB, free: 10.85 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.384e-05/1.307, allocations: 0 / 1.484 GB, free: 10.85 MB / 1.17 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.003171/1.31, allocations: 1.053 MB / 1.485 GB, free: 10.01 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/1.31, allocations: 10.38 kB / 1.485 GB, free: 10.01 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002727/1.31, allocations: 107 kB / 1.486 GB, free: 9.914 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/1.312, allocations: 164.7 kB / 1.486 GB, free: 9.84 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/1.314, allocations: 0.5481 MB / 1.486 GB, free: 9.387 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.051e-05/1.314, allocations: 39.69 kB / 1.486 GB, free: 9.371 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/1.314, allocations: 49.91 kB / 1.486 GB, free: 9.355 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/1.315, allocations: 0.6586 MB / 1.487 GB, free: 8.957 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/1.315, allocations: 0 / 1.487 GB, free: 8.957 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/1.316, allocations: 21.66 kB / 1.487 GB, free: 8.941 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/1.316, allocations: 22.5 kB / 1.487 GB, free: 8.938 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/1.317, allocations: 0.509 MB / 1.488 GB, free: 8.691 MB / 1.17 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.005058/1.322, allocations: 2.302 MB / 1.49 GB, free: 6.785 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/1.323, allocations: 248 kB / 1.49 GB, free: 6.652 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/1.323, allocations: 130.2 kB / 1.49 GB, free: 6.582 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/1.323, allocations: 2.5 kB / 1.49 GB, free: 6.582 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/1.323, allocations: 42.62 kB / 1.49 GB, free: 6.535 MB / 1.17 GB Notification: Performance of pre-optimization done (n=20): time 2.615e-06/1.323, allocations: 0 / 1.49 GB, free: 6.535 MB / 1.17 GB Notification: Performance of matching and sorting (n=20): time 0.002132/1.325, allocations: 0.6631 MB / 1.491 GB, free: 6.074 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/1.325, allocations: 83.45 kB / 1.491 GB, free: 5.977 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/1.326, allocations: 0.5617 MB / 1.491 GB, free: 5.641 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.249e-05/1.326, allocations: 32.52 kB / 1.491 GB, free: 5.605 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000362/1.327, allocations: 344.8 kB / 1.492 GB, free: 5.301 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/1.327, allocations: 77.97 kB / 1.492 GB, free: 5.234 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/1.327, allocations: 68.7 kB / 1.492 GB, free: 5.188 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002526/1.327, allocations: 367.1 kB / 1.492 GB, free: 4.832 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000335/1.328, allocations: 138.7 kB / 1.492 GB, free: 4.762 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/1.328, allocations: 211.1 kB / 1.493 GB, free: 4.602 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/1.329, allocations: 338.6 kB / 1.493 GB, free: 4.375 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/1.329, allocations: 0 / 1.493 GB, free: 4.375 MB / 1.17 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001219/1.33, allocations: 0.4933 MB / 1.493 GB, free: 4.102 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.33, allocations: 9.609 kB / 1.493 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.33, allocations: 2.469 kB / 1.493 GB, free: 4.098 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/1.33, allocations: 87.75 kB / 1.494 GB, free: 4.051 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/1.331, allocations: 71.22 kB / 1.494 GB, free: 4.035 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/1.335, allocations: 3.338 MB / 1.497 GB, free: 0.8242 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000852/1.336, allocations: 55.08 kB / 1.497 GB, free: 0.7852 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-05/1.336, allocations: 10.12 kB / 1.497 GB, free: 0.7852 MB / 1.17 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.0005688/1.336, allocations: 218.2 kB / 1.497 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/1.337, allocations: 61.47 kB / 1.497 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/1.337, allocations: 57.12 kB / 1.497 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.337, allocations: 6.875 kB / 1.497 GB, free: 0.5273 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.337, allocations: 3.938 kB / 1.497 GB, free: 0.5234 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009273/1.338, allocations: 0.5228 MB / 1.498 GB, free: 56 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/1.34, allocations: 0.9176 MB / 1.499 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.34, allocations: 0 / 1.499 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/1.34, allocations: 43.91 kB / 1.499 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002538/1.34, allocations: 64.81 kB / 1.499 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/1.34, allocations: 0 / 1.499 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/1.343, allocations: 1.829 MB / 1.501 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.343, allocations: 0 / 1.501 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009759/1.344, allocations: 445.4 kB / 1.501 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005057/1.344, allocations: 176.7 kB / 1.501 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002009/1.344, allocations: 15.88 kB / 1.501 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006146/1.345, allocations: 15.98 kB / 1.501 GB, free: 12.54 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.446e-05/1.345, allocations: 19.97 kB / 1.501 GB, free: 12.52 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.605e-05/1.345, allocations: 19.98 kB / 1.501 GB, free: 12.5 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000656/1.346, allocations: 394.8 kB / 1.502 GB, free: 12.12 MB / 1.186 GB Notification: Performance of sort global known variables: time 6.1e-08/1.346, allocations: 0 / 1.502 GB, free: 12.12 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009745/1.347, allocations: 199.8 kB / 1.502 GB, free: 11.93 MB / 1.186 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.001656/1.348, allocations: 1.039 MB / 1.503 GB, free: 10.86 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001184/1.35, allocations: 0.5165 MB / 1.503 GB, free: 10.32 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.35, allocations: 4 kB / 1.503 GB, free: 10.31 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0004498/1.35, allocations: 255.1 kB / 1.504 GB, free: 10.05 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/1.352, allocations: 371.4 kB / 1.504 GB, free: 9.699 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008651/1.361, allocations: 4.456 MB / 1.508 GB, free: 5.078 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009151/1.362, allocations: 0.9093 MB / 1.509 GB, free: 4.141 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000704/1.362, allocations: 108.8 kB / 1.509 GB, free: 4.031 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/1.363, allocations: 195.3 kB / 1.509 GB, free: 3.84 MB / 1.186 GB Notification: Performance of SimCode: time 1.323e-06/1.363, allocations: 0 / 1.509 GB, free: 3.84 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06449/1.427, allocations: 17.9 MB / 1.527 GB, free: 2.324 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/14.08, allocations: 8.062 kB / 1.527 GB, free: 2.316 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.40248391777277]