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.001835/0.001835, allocations: 106.6 kB / 16.45 MB, free: 6.504 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.002049/0.002049, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.578/1.578, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] 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.504/2.504, allocations: 443.5 MB / 0.7287 GB, free: 13.27 MB / 0.5919 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.00206/0.00206, allocations: 59.91 kB / 1.056 GB, free: 5.902 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8594/0.8615, allocations: 160.7 MB / 1.213 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.2098/1.071, allocations: 171.6 MB / 1.381 GB, free: 12 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007312/1.079, allocations: 4.325 MB / 1.385 GB, free: 7.664 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009309/1.08, allocations: 23.88 kB / 1.385 GB, free: 7.641 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001288/1.081, allocations: 369.9 kB / 1.385 GB, free: 7.277 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003626/1.084, allocations: 1.263 MB / 1.386 GB, free: 6.012 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/1.087, allocations: 0.7989 MB / 1.387 GB, free: 5.215 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002707/1.089, allocations: 1.699 MB / 1.389 GB, free: 3.512 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008858/1.09, allocations: 487.6 kB / 1.389 GB, free: 3.031 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/1.092, allocations: 0.7122 MB / 1.39 GB, free: 2.316 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/1.094, allocations: 0.5899 MB / 1.391 GB, free: 1.727 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001753/1.094, allocations: 68 kB / 1.391 GB, free: 1.66 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/1.096, allocations: 0.8418 MB / 1.391 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003803/1.096, allocations: 275.2 kB / 1.392 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005901/1.097, allocations: 406.3 kB / 1.392 GB, free: 152 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002532/1.099, allocations: 1.273 MB / 1.393 GB, free: 14.87 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/1.099, allocations: 0 / 1.393 GB, free: 14.87 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.863e-06/1.099, allocations: 0 / 1.393 GB, free: 14.87 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.409e-05/1.099, allocations: 0 / 1.393 GB, free: 14.87 MB / 1.107 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.002295/1.101, allocations: 1.059 MB / 1.394 GB, free: 13.76 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/1.102, allocations: 8.625 kB / 1.394 GB, free: 13.75 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/1.102, allocations: 98.52 kB / 1.394 GB, free: 13.64 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/1.103, allocations: 171.4 kB / 1.395 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/1.104, allocations: 0.5487 MB / 1.395 GB, free: 12.89 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/1.104, allocations: 37.31 kB / 1.395 GB, free: 12.85 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/1.104, allocations: 48 kB / 1.395 GB, free: 12.8 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/1.105, allocations: 0.6557 MB / 1.396 GB, free: 12.13 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/1.105, allocations: 0 / 1.396 GB, free: 12.13 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/1.105, allocations: 28 kB / 1.396 GB, free: 12.11 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-05/1.105, allocations: 21.31 kB / 1.396 GB, free: 12.08 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009628/1.106, allocations: 0.5125 MB / 1.396 GB, free: 11.57 MB / 1.107 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.003971/1.11, allocations: 2.302 MB / 1.399 GB, free: 9.102 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005348/1.111, allocations: 238.8 kB / 1.399 GB, free: 8.859 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/1.111, allocations: 125.7 kB / 1.399 GB, free: 8.734 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/1.111, allocations: 11.92 kB / 1.399 GB, free: 8.723 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/1.111, allocations: 50.5 kB / 1.399 GB, free: 8.664 MB / 1.107 GB Notification: Performance of pre-optimization done (n=20): time 2.003e-06/1.111, allocations: 0 / 1.399 GB, free: 8.664 MB / 1.107 GB Notification: Performance of matching and sorting (n=20): time 0.001835/1.113, allocations: 0.6673 MB / 1.4 GB, free: 7.949 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/1.113, allocations: 81.11 kB / 1.4 GB, free: 7.852 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007827/1.114, allocations: 0.5535 MB / 1.4 GB, free: 7.289 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/1.114, allocations: 33.7 kB / 1.4 GB, free: 7.25 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002854/1.114, allocations: 343.7 kB / 1.401 GB, free: 6.91 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/1.114, allocations: 71.42 kB / 1.401 GB, free: 6.84 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/1.114, allocations: 69.98 kB / 1.401 GB, free: 6.766 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002147/1.114, allocations: 362.7 kB / 1.401 GB, free: 6.402 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/1.115, allocations: 132.6 kB / 1.401 GB, free: 6.273 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/1.115, allocations: 210.7 kB / 1.401 GB, free: 6.035 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/1.116, allocations: 337.1 kB / 1.402 GB, free: 5.676 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.116, allocations: 0 / 1.402 GB, free: 5.676 MB / 1.107 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001095/1.117, allocations: 499.5 kB / 1.402 GB, free: 5.176 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/1.117, allocations: 8 kB / 1.402 GB, free: 5.168 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/1.117, allocations: 4 kB / 1.402 GB, free: 5.164 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/1.117, allocations: 93.64 kB / 1.402 GB, free: 5.066 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/1.118, allocations: 67.91 kB / 1.402 GB, free: 5 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/1.122, allocations: 3.356 MB / 1.406 GB, free: 1.359 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/1.122, allocations: 51.61 kB / 1.406 GB, free: 1.309 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/1.122, allocations: 16 kB / 1.406 GB, free: 1.293 MB / 1.107 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.0003905/1.123, allocations: 217.6 kB / 1.406 GB, free: 1.07 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/1.123, allocations: 55.67 kB / 1.406 GB, free: 1.016 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/1.123, allocations: 56.5 kB / 1.406 GB, free: 0.9609 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/1.123, allocations: 8 kB / 1.406 GB, free: 0.9531 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.123, allocations: 7.875 kB / 1.406 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008019/1.124, allocations: 0.5228 MB / 1.407 GB, free: 360 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/1.125, allocations: 0.9143 MB / 1.408 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/1.125, allocations: 4 kB / 1.408 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/1.125, allocations: 43.97 kB / 1.408 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/1.126, allocations: 60.81 kB / 1.408 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/1.126, allocations: 4.188 kB / 1.408 GB, free: 15.26 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/1.128, allocations: 1.828 MB / 1.409 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.128, allocations: 0 / 1.409 GB, free: 13.29 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008159/1.129, allocations: 436.2 kB / 1.41 GB, free: 12.84 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/1.129, allocations: 172.7 kB / 1.41 GB, free: 12.65 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/1.129, allocations: 16 kB / 1.41 GB, free: 12.63 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/1.129, allocations: 15.98 kB / 1.41 GB, free: 12.62 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/1.13, allocations: 19.97 kB / 1.41 GB, free: 12.6 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/1.13, allocations: 8 kB / 1.41 GB, free: 12.59 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005519/1.13, allocations: 406.8 kB / 1.41 GB, free: 12.2 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.13, allocations: 0 / 1.41 GB, free: 12.2 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007418/1.131, allocations: 203.7 kB / 1.411 GB, free: 12 MB / 1.123 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.001467/1.132, allocations: 1.036 MB / 1.412 GB, free: 10.93 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001086/1.133, allocations: 0.5166 MB / 1.412 GB, free: 10.39 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.133, allocations: 0 / 1.412 GB, free: 10.39 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003934/1.134, allocations: 251.2 kB / 1.412 GB, free: 10.13 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/1.136, allocations: 371 kB / 1.413 GB, free: 9.781 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00771/1.143, allocations: 4.474 MB / 1.417 GB, free: 5.152 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/1.144, allocations: 0.9131 MB / 1.418 GB, free: 4.211 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005356/1.145, allocations: 116.8 kB / 1.418 GB, free: 4.094 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/1.145, allocations: 195.4 kB / 1.418 GB, free: 3.902 MB / 1.123 GB Notification: Performance of SimCode: time 1.082e-06/1.145, allocations: 0 / 1.418 GB, free: 3.902 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05475/1.2, allocations: 17.89 MB / 1.436 GB, free: 2.352 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.89, allocations: 9.516 kB / 1.436 GB, free: 2.348 MB / 1.139 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 19.914290936663747]