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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006973/0.006974, allocations: 103.3 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 187.8 kB / 16.67 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.491/2.491, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.89 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7831/0.7845, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1996/0.9841, allocations: 171.1 MB / 1.374 GB, free: 1.828 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.009383/0.9935, allocations: 4.293 MB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.9947, allocations: 23.88 kB / 1.379 GB, free: 13.5 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.9963, allocations: 353.9 kB / 1.379 GB, free: 13.15 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005223/1.002, allocations: 1.217 MB / 1.38 GB, free: 11.93 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003411/1.005, allocations: 0.7989 MB / 1.381 GB, free: 11.13 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003459/1.009, allocations: 1.695 MB / 1.382 GB, free: 9.434 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/1.01, allocations: 0.5582 MB / 1.383 GB, free: 8.879 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002049/1.012, allocations: 0.7005 MB / 1.384 GB, free: 8.176 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/1.014, allocations: 0.5578 MB / 1.384 GB, free: 7.621 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002596/1.014, allocations: 64 kB / 1.384 GB, free: 7.559 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00259/1.017, allocations: 0.7951 MB / 1.385 GB, free: 6.762 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005263/1.017, allocations: 263.3 kB / 1.385 GB, free: 6.504 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009707/1.018, allocations: 410.2 kB / 1.386 GB, free: 6.102 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002479/1.021, allocations: 1.27 MB / 1.387 GB, free: 4.828 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.021, allocations: 4 kB / 1.387 GB, free: 4.824 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.184e-06/1.021, allocations: 0 / 1.387 GB, free: 4.824 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.877e-05/1.021, allocations: 4 kB / 1.387 GB, free: 4.82 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.002521/1.023, allocations: 1.029 MB / 1.388 GB, free: 3.738 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.023, allocations: 8.031 kB / 1.388 GB, free: 3.73 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001637/1.024, allocations: 98.52 kB / 1.388 GB, free: 3.625 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/1.025, allocations: 159 kB / 1.388 GB, free: 3.469 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/1.026, allocations: 0.5483 MB / 1.389 GB, free: 2.879 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/1.026, allocations: 41.25 kB / 1.389 GB, free: 2.84 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.893e-05/1.026, allocations: 59.98 kB / 1.389 GB, free: 2.781 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/1.027, allocations: 0.6479 MB / 1.39 GB, free: 2.117 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/1.027, allocations: 0 / 1.39 GB, free: 2.117 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.759e-05/1.027, allocations: 20 kB / 1.39 GB, free: 2.098 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/1.027, allocations: 33.3 kB / 1.39 GB, free: 2.062 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009441/1.028, allocations: 0.5048 MB / 1.39 GB, free: 1.559 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.003543/1.032, allocations: 2.289 MB / 1.392 GB, free: 15.1 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/1.032, allocations: 258.8 kB / 1.393 GB, free: 14.84 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/1.032, allocations: 140.7 kB / 1.393 GB, free: 14.7 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/1.032, allocations: 4 kB / 1.393 GB, free: 14.7 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/1.032, allocations: 38.56 kB / 1.393 GB, free: 14.65 MB / 1.123 GB Notification: Performance of pre-optimization done (n=20): time 2.675e-06/1.032, allocations: 3.938 kB / 1.393 GB, free: 14.64 MB / 1.123 GB Notification: Performance of matching and sorting (n=20): time 0.001743/1.034, allocations: 0.6703 MB / 1.393 GB, free: 13.93 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/1.034, allocations: 81.11 kB / 1.393 GB, free: 13.83 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006934/1.035, allocations: 0.5497 MB / 1.394 GB, free: 13.27 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/1.035, allocations: 29.7 kB / 1.394 GB, free: 13.23 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/1.035, allocations: 351 kB / 1.394 GB, free: 12.88 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/1.035, allocations: 66.95 kB / 1.394 GB, free: 12.82 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/1.035, allocations: 70.03 kB / 1.394 GB, free: 12.74 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.036, allocations: 362.7 kB / 1.395 GB, free: 12.38 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/1.036, allocations: 132.6 kB / 1.395 GB, free: 12.25 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/1.036, allocations: 218.6 kB / 1.395 GB, free: 12 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005298/1.037, allocations: 332.8 kB / 1.395 GB, free: 11.65 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.037, allocations: 0 / 1.395 GB, free: 11.65 MB / 1.123 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009172/1.038, allocations: 0.4984 MB / 1.396 GB, free: 11.14 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.038, allocations: 8 kB / 1.396 GB, free: 11.13 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/1.038, allocations: 0 / 1.396 GB, free: 11.13 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003322/1.038, allocations: 97.88 kB / 1.396 GB, free: 11.03 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/1.038, allocations: 67.89 kB / 1.396 GB, free: 10.96 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/1.042, allocations: 3.34 MB / 1.399 GB, free: 7.336 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/1.042, allocations: 55.36 kB / 1.399 GB, free: 7.281 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/1.042, allocations: 12 kB / 1.399 GB, free: 7.27 MB / 1.123 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.000304/1.042, allocations: 221.8 kB / 1.4 GB, free: 7.043 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/1.043, allocations: 51.44 kB / 1.4 GB, free: 6.992 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/1.043, allocations: 52.5 kB / 1.4 GB, free: 6.941 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.043, allocations: 4 kB / 1.4 GB, free: 6.938 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.043, allocations: 3.938 kB / 1.4 GB, free: 6.934 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007078/1.043, allocations: 0.5368 MB / 1.4 GB, free: 6.328 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/1.045, allocations: 0.9143 MB / 1.401 GB, free: 5.348 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.045, allocations: 0 / 1.401 GB, free: 5.348 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/1.045, allocations: 43.91 kB / 1.401 GB, free: 5.305 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/1.045, allocations: 64.88 kB / 1.401 GB, free: 5.238 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.045, allocations: 8.172 kB / 1.401 GB, free: 5.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/1.047, allocations: 1.82 MB / 1.403 GB, free: 3.27 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.047, allocations: 3.984 kB / 1.403 GB, free: 3.266 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/1.048, allocations: 434.5 kB / 1.404 GB, free: 2.816 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/1.048, allocations: 176.3 kB / 1.404 GB, free: 2.625 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.518e-05/1.048, allocations: 3.938 kB / 1.404 GB, free: 2.621 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/1.048, allocations: 19.98 kB / 1.404 GB, free: 2.602 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/1.049, allocations: 19.97 kB / 1.404 GB, free: 2.582 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/1.049, allocations: 15.98 kB / 1.404 GB, free: 2.566 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005347/1.049, allocations: 398.8 kB / 1.404 GB, free: 2.18 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.5e-07/1.049, allocations: 3.938 kB / 1.404 GB, free: 2.176 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007612/1.05, allocations: 211.6 kB / 1.404 GB, free: 1.969 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.001246/1.051, allocations: 1.039 MB / 1.405 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009315/1.052, allocations: 0.5248 MB / 1.406 GB, free: 360 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.052, allocations: 8.125 kB / 1.406 GB, free: 352 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/1.052, allocations: 254.5 kB / 1.406 GB, free: 84 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/1.054, allocations: 374.2 kB / 1.406 GB, free: 15.73 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006464/1.061, allocations: 4.446 MB / 1.411 GB, free: 11.12 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/1.061, allocations: 0.9171 MB / 1.412 GB, free: 10.17 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0004611/1.062, allocations: 116.8 kB / 1.412 GB, free: 10.06 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/1.062, allocations: 187.4 kB / 1.412 GB, free: 9.875 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/1.062, allocations: 0 / 1.412 GB, free: 9.875 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0756/1.138, allocations: 18.08 MB / 1.43 GB, free: 8.188 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.85, allocations: 8.969 kB / 1.43 GB, free: 8.184 MB / 1.154 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches