Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001423/0.001423, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.001456/0.001456, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.314/1.314, allocations: 225.6 MB / 249.3 MB, free: 3.324 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.389/2.389, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.89 kB / 1.059 GB, free: 1.012 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2489, allocations: 160.7 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.6787/0.9276, allocations: 171.8 MB / 1.383 GB, free: 7.504 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006213/0.9338, allocations: 4.337 MB / 1.388 GB, free: 4.445 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006944/0.9345, allocations: 22.53 kB / 1.388 GB, free: 4.438 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.9355, allocations: 372.4 kB / 1.388 GB, free: 4.242 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00292/0.9384, allocations: 1.258 MB / 1.389 GB, free: 3.32 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.9403, allocations: 0.7975 MB / 1.39 GB, free: 2.719 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002071/0.9424, allocations: 1.713 MB / 1.392 GB, free: 1.734 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007232/0.9431, allocations: 445.8 kB / 1.392 GB, free: 1.422 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.9444, allocations: 0.7154 MB / 1.393 GB, free: 1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.9458, allocations: 0.5826 MB / 1.393 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.946, allocations: 64.31 kB / 1.393 GB, free: 0.6602 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.9475, allocations: 0.8474 MB / 1.394 GB, free: 204 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.9478, allocations: 275.5 kB / 1.394 GB, free: 12 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000645/0.9485, allocations: 409.5 kB / 1.395 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.9503, allocations: 1.273 MB / 1.396 GB, free: 14.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9503, allocations: 5.094 kB / 1.396 GB, free: 14.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9503, allocations: 0 / 1.396 GB, free: 14.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.626e-05/0.9504, allocations: 0 / 1.396 GB, free: 14.93 MB / 1.076 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.002063/0.9524, allocations: 1.057 MB / 1.397 GB, free: 14.08 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.9525, allocations: 13.81 kB / 1.397 GB, free: 14.08 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.9526, allocations: 95.36 kB / 1.397 GB, free: 14 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.9536, allocations: 165.2 kB / 1.397 GB, free: 13.92 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.9545, allocations: 0.5516 MB / 1.398 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.9545, allocations: 42.59 kB / 1.398 GB, free: 13.44 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/0.9546, allocations: 54.06 kB / 1.398 GB, free: 13.42 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.9557, allocations: 0.6473 MB / 1.399 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.9557, allocations: 0 / 1.399 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/0.9557, allocations: 22 kB / 1.399 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.9558, allocations: 25.53 kB / 1.399 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008755/0.9567, allocations: 0.5152 MB / 1.399 GB, free: 12.76 MB / 1.076 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.003228/0.9599, allocations: 2.301 MB / 1.401 GB, free: 10.86 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004862/0.9604, allocations: 235.1 kB / 1.402 GB, free: 10.73 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.9606, allocations: 136.7 kB / 1.402 GB, free: 10.66 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.9606, allocations: 6.688 kB / 1.402 GB, free: 10.66 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.9607, allocations: 37.31 kB / 1.402 GB, free: 10.61 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.9607, allocations: 0 / 1.402 GB, free: 10.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.001583/0.9622, allocations: 0.6689 MB / 1.403 GB, free: 10.14 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.9623, allocations: 79.86 kB / 1.403 GB, free: 10.05 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006525/0.9629, allocations: 0.5577 MB / 1.403 GB, free: 9.719 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.963, allocations: 33.39 kB / 1.403 GB, free: 9.684 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.9633, allocations: 340.5 kB / 1.403 GB, free: 9.383 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.9633, allocations: 73.55 kB / 1.404 GB, free: 9.32 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.9634, allocations: 72.45 kB / 1.404 GB, free: 9.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.9636, allocations: 363.4 kB / 1.404 GB, free: 8.918 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.9639, allocations: 131 kB / 1.404 GB, free: 8.855 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.9642, allocations: 215.5 kB / 1.404 GB, free: 8.691 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.9647, allocations: 329.4 kB / 1.405 GB, free: 8.473 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.9647, allocations: 1.312 kB / 1.405 GB, free: 8.473 MB / 1.076 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008631/0.9656, allocations: 0.4927 MB / 1.405 GB, free: 8.199 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.9656, allocations: 9.5 kB / 1.405 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.9656, allocations: 2.594 kB / 1.405 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/0.9659, allocations: 100.5 kB / 1.405 GB, free: 8.141 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.9662, allocations: 71.81 kB / 1.405 GB, free: 8.125 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.9692, allocations: 3.345 MB / 1.409 GB, free: 4.914 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.9696, allocations: 47.94 kB / 1.409 GB, free: 4.883 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.9697, allocations: 14.22 kB / 1.409 GB, free: 4.879 MB / 1.076 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.00025/0.9699, allocations: 222.7 kB / 1.409 GB, free: 4.695 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.97, allocations: 56.61 kB / 1.409 GB, free: 4.668 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.939e-05/0.9701, allocations: 52.55 kB / 1.409 GB, free: 4.633 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.9701, allocations: 6.484 kB / 1.409 GB, free: 4.629 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9701, allocations: 7.875 kB / 1.409 GB, free: 4.621 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006737/0.9708, allocations: 0.5264 MB / 1.409 GB, free: 4.152 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.972, allocations: 0.9143 MB / 1.41 GB, free: 3.441 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.972, allocations: 2.688 kB / 1.41 GB, free: 3.441 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.9722, allocations: 36.27 kB / 1.41 GB, free: 3.438 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/0.9723, allocations: 72.05 kB / 1.41 GB, free: 3.395 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.9724, allocations: 2.5 kB / 1.41 GB, free: 3.395 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.974, allocations: 1.829 MB / 1.412 GB, free: 1.691 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.974, allocations: 3.938 kB / 1.412 GB, free: 1.688 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.9746, allocations: 440.1 kB / 1.413 GB, free: 1.383 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000217/0.9748, allocations: 170.9 kB / 1.413 GB, free: 1.227 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.902e-05/0.9749, allocations: 7.844 kB / 1.413 GB, free: 1.223 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/0.9753, allocations: 23.12 kB / 1.413 GB, free: 1.211 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.9754, allocations: 16.42 kB / 1.413 GB, free: 1.203 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.9754, allocations: 19.02 kB / 1.413 GB, free: 1.195 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004088/0.9758, allocations: 404.3 kB / 1.413 GB, free: 0.957 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9758, allocations: 0 / 1.413 GB, free: 0.957 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005611/0.9764, allocations: 207.8 kB / 1.413 GB, free: 0.9219 MB / 1.076 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.001105/0.9775, allocations: 1.04 MB / 1.414 GB, free: 60 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008119/0.9783, allocations: 0.5147 MB / 1.415 GB, free: 15.69 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.9783, allocations: 4.125 kB / 1.415 GB, free: 15.68 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003442/0.9787, allocations: 247.9 kB / 1.415 GB, free: 15.5 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.9802, allocations: 364.2 kB / 1.416 GB, free: 15.32 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.9857, allocations: 4.472 MB / 1.42 GB, free: 12.33 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.9862, allocations: 0.9054 MB / 1.421 GB, free: 11.52 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003514/0.9865, allocations: 121.8 kB / 1.421 GB, free: 11.46 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.9868, allocations: 193.4 kB / 1.421 GB, free: 11.3 MB / 1.092 GB Notification: Performance of SimCode: time 5.61e-07/0.9868, allocations: 2.906 kB / 1.421 GB, free: 11.3 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05024/1.037, allocations: 17.89 MB / 1.439 GB, free: 11.14 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/12.33, allocations: 10.38 kB / 1.439 GB, free: 11.13 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable vol.ports[1].m_flow in file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.ports[1].m_flow from file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.Q_flow in file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.Q_flow from file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! Error: Could not read variable vol.heatPort.T in file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv. Warning: Get data of variable vol.heatPort.T from file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.61702345700178]