Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001197/0.001197, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001354/0.001354, allocations: 217.1 kB / 22.25 MB, free: 5.105 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.307/1.307, allocations: 230.6 MB / 256 MB, free: 7.836 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.839/2.839, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) [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.001886/0.001886, allocations: 68.28 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2898/0.2917, allocations: 176.1 MB / 1.326 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1695/0.4611, allocations: 151 MB / 1.473 GB, free: 10.04 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006147/0.4673, allocations: 4.035 MB / 1.477 GB, free: 5.996 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005268/0.4678, allocations: 27.75 kB / 1.477 GB, free: 5.969 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009056/0.4687, allocations: 338 kB / 1.478 GB, free: 5.637 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.4714, allocations: 1.283 MB / 1.479 GB, free: 4.348 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.4732, allocations: 0.8063 MB / 1.48 GB, free: 3.547 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001989/0.4752, allocations: 1.75 MB / 1.481 GB, free: 1.789 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005867/0.4758, allocations: 444.3 kB / 1.482 GB, free: 1.352 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.4769, allocations: 0.798 MB / 1.482 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.4782, allocations: 0.5741 MB / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.4784, allocations: 64 kB / 1.483 GB, free: 15.91 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.4797, allocations: 0.674 MB / 1.484 GB, free: 15.24 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002904/0.48, allocations: 283.1 kB / 1.484 GB, free: 14.96 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.4804, allocations: 342.6 kB / 1.484 GB, free: 14.62 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.4819, allocations: 1.258 MB / 1.486 GB, free: 13.36 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4819, allocations: 0 / 1.486 GB, free: 13.36 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.123e-06/0.4819, allocations: 0 / 1.486 GB, free: 13.36 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.4819, allocations: 4 kB / 1.486 GB, free: 13.36 MB / 1.186 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.001743/0.4837, allocations: 0.9774 MB / 1.487 GB, free: 12.35 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4837, allocations: 12.03 kB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.4839, allocations: 102.5 kB / 1.487 GB, free: 12.23 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000976/0.4848, allocations: 167.4 kB / 1.487 GB, free: 12.06 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008939/0.4857, allocations: 490.7 kB / 1.487 GB, free: 11.56 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.011e-05/0.4858, allocations: 37.31 kB / 1.487 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/0.4858, allocations: 52 kB / 1.487 GB, free: 11.47 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.4871, allocations: 1.015 MB / 1.488 GB, free: 10.36 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4872, allocations: 0 / 1.488 GB, free: 10.36 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.897e-05/0.4872, allocations: 20 kB / 1.488 GB, free: 10.34 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.4873, allocations: 21.31 kB / 1.488 GB, free: 10.31 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/0.4882, allocations: 0.5087 MB / 1.489 GB, free: 9.801 MB / 1.186 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.003167/0.4914, allocations: 1.66 MB / 1.491 GB, free: 8.082 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/0.4919, allocations: 242.7 kB / 1.491 GB, free: 7.836 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.4921, allocations: 132.7 kB / 1.491 GB, free: 7.703 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.4921, allocations: 352 / 1.491 GB, free: 7.703 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.4921, allocations: 42.56 kB / 1.491 GB, free: 7.652 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.182e-06/0.4921, allocations: 0 / 1.491 GB, free: 7.652 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001564/0.4937, allocations: 0.5193 MB / 1.491 GB, free: 7.121 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.4938, allocations: 77.11 kB / 1.492 GB, free: 7.027 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006814/0.4944, allocations: 0.5691 MB / 1.492 GB, free: 6.449 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.4945, allocations: 33.7 kB / 1.492 GB, free: 6.41 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.4947, allocations: 339.7 kB / 1.492 GB, free: 6.074 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.253e-05/0.4948, allocations: 79.31 kB / 1.492 GB, free: 5.996 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.4949, allocations: 69.98 kB / 1.493 GB, free: 5.922 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4951, allocations: 362.7 kB / 1.493 GB, free: 5.559 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.4954, allocations: 132.6 kB / 1.493 GB, free: 5.43 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.4957, allocations: 244.4 kB / 1.493 GB, free: 5.152 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/0.4962, allocations: 328.9 kB / 1.494 GB, free: 4.801 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.4962, allocations: 4 kB / 1.494 GB, free: 4.797 MB / 1.186 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009014/0.4971, allocations: 0.4908 MB / 1.494 GB, free: 4.293 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4971, allocations: 8 kB / 1.494 GB, free: 4.285 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4971, allocations: 0 / 1.494 GB, free: 4.285 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.4975, allocations: 97.92 kB / 1.494 GB, free: 4.184 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.4978, allocations: 71.84 kB / 1.494 GB, free: 4.113 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003181/0.501, allocations: 3.127 MB / 1.497 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.5014, allocations: 55.61 kB / 1.497 GB, free: 0.707 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.5014, allocations: 8 kB / 1.497 GB, free: 0.6992 MB / 1.186 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.0002567/0.5017, allocations: 214.4 kB / 1.498 GB, free: 492 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.5018, allocations: 63.62 kB / 1.498 GB, free: 428 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.5019, allocations: 60.5 kB / 1.498 GB, free: 364 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.5019, allocations: 4 kB / 1.498 GB, free: 360 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5019, allocations: 3.938 kB / 1.498 GB, free: 356 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007622/0.5027, allocations: 0.5243 MB / 1.498 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.5039, allocations: 0.8174 MB / 1.499 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5039, allocations: 4.062 kB / 1.499 GB, free: 14.88 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.5042, allocations: 51.91 kB / 1.499 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.5044, allocations: 60.81 kB / 1.499 GB, free: 14.76 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5044, allocations: 0 / 1.499 GB, free: 14.76 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.5062, allocations: 1.718 MB / 1.501 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.5062, allocations: 0 / 1.501 GB, free: 12.93 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006328/0.5068, allocations: 441.5 kB / 1.501 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.5071, allocations: 91.58 kB / 1.501 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.5071, allocations: 7.938 kB / 1.501 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.5076, allocations: 25.8 kB / 1.501 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.5076, allocations: 16.03 kB / 1.501 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.5077, allocations: 19.98 kB / 1.501 GB, free: 12.32 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004689/0.5081, allocations: 394.8 kB / 1.502 GB, free: 11.93 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5081, allocations: 4 kB / 1.502 GB, free: 11.93 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006333/0.5088, allocations: 203.7 kB / 1.502 GB, free: 11.73 MB / 1.201 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.001148/0.5099, allocations: 1.01 MB / 1.503 GB, free: 10.68 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0008858/0.5108, allocations: 0.5321 MB / 1.503 GB, free: 10.12 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5108, allocations: 4 kB / 1.503 GB, free: 10.12 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.5112, allocations: 247.6 kB / 1.504 GB, free: 9.867 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.5127, allocations: 379.5 kB / 1.504 GB, free: 9.508 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.5186, allocations: 4.469 MB / 1.508 GB, free: 4.875 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.5189, allocations: 310.7 kB / 1.509 GB, free: 4.543 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003773/0.5193, allocations: 112.8 kB / 1.509 GB, free: 4.43 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.5196, allocations: 195.4 kB / 1.509 GB, free: 4.238 MB / 1.201 GB Notification: Performance of SimCode: time 7.31e-07/0.5196, allocations: 0 / 1.509 GB, free: 4.238 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05459/0.5742, allocations: 19.65 MB / 1.528 GB, free: 1.074 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.7, allocations: 5.25 kB / 1.528 GB, free: 1.074 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.57620952097932]