Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,fileNamePrefix="Buildings_9_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.007752/0.007752, allocations: 99.19 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.001762/0.001762, allocations: 198.1 kB / 16.67 MB, free: 5.969 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.2 MB / 0.6648 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 62.38 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2709, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1693/0.4403, allocations: 171.1 MB / 1.255 GB, free: 6.309 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006315/0.4467, allocations: 4.31 MB / 1.259 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008145/0.4475, allocations: 23.88 kB / 1.259 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.4487, allocations: 349.9 kB / 1.259 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003009/0.4517, allocations: 1.221 MB / 1.26 GB, free: 404 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.6221/1.074, allocations: 0.7855 MB / 1.261 GB, free: 4.434 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002864/1.077, allocations: 1.693 MB / 1.263 GB, free: 4.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009681/1.078, allocations: 0.5607 MB / 1.263 GB, free: 4.414 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/1.079, allocations: 0.6891 MB / 1.264 GB, free: 4.414 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/1.081, allocations: 0.5517 MB / 1.264 GB, free: 4.414 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/1.081, allocations: 64.97 kB / 1.265 GB, free: 4.414 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/1.083, allocations: 0.8027 MB / 1.265 GB, free: 4.414 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/1.083, allocations: 268.1 kB / 1.266 GB, free: 4.414 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005485/1.083, allocations: 405.2 kB / 1.266 GB, free: 4.414 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/1.086, allocations: 1.264 MB / 1.267 GB, free: 4.387 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/1.086, allocations: 0.875 kB / 1.267 GB, free: 4.387 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.973e-06/1.086, allocations: 2.188 kB / 1.267 GB, free: 4.387 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.381e-05/1.086, allocations: 0 / 1.267 GB, free: 4.387 MB / 1.014 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.001913/1.087, allocations: 1.039 MB / 1.268 GB, free: 3.805 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.088, allocations: 9.25 kB / 1.268 GB, free: 3.805 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/1.088, allocations: 102.4 kB / 1.268 GB, free: 3.766 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/1.089, allocations: 160.2 kB / 1.268 GB, free: 3.73 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009769/1.09, allocations: 0.5416 MB / 1.269 GB, free: 3.469 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.383e-05/1.09, allocations: 40.89 kB / 1.269 GB, free: 3.469 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.478e-05/1.09, allocations: 53.52 kB / 1.269 GB, free: 3.469 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/1.091, allocations: 0.6483 MB / 1.27 GB, free: 3.395 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/1.091, allocations: 1 kB / 1.27 GB, free: 3.395 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/1.091, allocations: 26.28 kB / 1.27 GB, free: 3.395 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/1.091, allocations: 23.7 kB / 1.27 GB, free: 3.391 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/1.092, allocations: 0.5128 MB / 1.27 GB, free: 3.383 MB / 1.014 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.003707/1.096, allocations: 2.301 MB / 1.272 GB, free: 2.34 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/1.097, allocations: 253.9 kB / 1.273 GB, free: 2.316 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003052/1.097, allocations: 136.8 kB / 1.273 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.571e-05/1.097, allocations: 4.219 kB / 1.273 GB, free: 2.309 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/1.097, allocations: 42.59 kB / 1.273 GB, free: 2.266 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/1.097, allocations: 0.5625 kB / 1.273 GB, free: 2.266 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.002185/1.099, allocations: 0.6678 MB / 1.274 GB, free: 18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/1.099, allocations: 80.48 kB / 1.274 GB, free: 17.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008483/1.1, allocations: 0.558 MB / 1.274 GB, free: 17.78 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/1.1, allocations: 33.08 kB / 1.274 GB, free: 17.75 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/1.1, allocations: 338.5 kB / 1.275 GB, free: 17.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/1.101, allocations: 67.48 kB / 1.275 GB, free: 17.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/1.101, allocations: 73.78 kB / 1.275 GB, free: 17.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.101, allocations: 363.1 kB / 1.275 GB, free: 17.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/1.101, allocations: 132.5 kB / 1.275 GB, free: 17.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/1.101, allocations: 216.7 kB / 1.275 GB, free: 17.11 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/1.102, allocations: 339.4 kB / 1.276 GB, free: 17.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.102, allocations: 2.062 kB / 1.276 GB, free: 17.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009206/1.103, allocations: 0.489 MB / 1.276 GB, free: 16.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.103, allocations: 6.203 kB / 1.276 GB, free: 16.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/1.103, allocations: 5.5 kB / 1.276 GB, free: 16.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003115/1.103, allocations: 100.2 kB / 1.276 GB, free: 16.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/1.104, allocations: 67.91 kB / 1.276 GB, free: 16.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003068/1.107, allocations: 3.338 MB / 1.28 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/1.107, allocations: 53.84 kB / 1.28 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.747e-05/1.107, allocations: 12.81 kB / 1.28 GB, free: 14.2 MB / 1.029 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.0002944/1.108, allocations: 218.7 kB / 1.28 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/1.108, allocations: 51.88 kB / 1.28 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.807e-05/1.108, allocations: 61.36 kB / 1.28 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.108, allocations: 3.562 kB / 1.28 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.108, allocations: 2 kB / 1.28 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007982/1.109, allocations: 0.5325 MB / 1.28 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/1.11, allocations: 0.9211 MB / 1.281 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/1.11, allocations: 0.8125 kB / 1.281 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/1.11, allocations: 46.92 kB / 1.281 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000197/1.111, allocations: 62.16 kB / 1.281 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/1.111, allocations: 6.891 kB / 1.282 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/1.112, allocations: 1.817 MB / 1.283 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.112, allocations: 2.328 kB / 1.283 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/1.113, allocations: 437.1 kB / 1.284 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/1.113, allocations: 169.9 kB / 1.284 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/1.113, allocations: 7.625 kB / 1.284 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/1.114, allocations: 27.03 kB / 1.284 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/1.114, allocations: 19.38 kB / 1.284 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.594e-05/1.114, allocations: 16.62 kB / 1.284 GB, free: 11.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004795/1.114, allocations: 402.2 kB / 1.284 GB, free: 11.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.41e-07/1.114, allocations: 1.312 kB / 1.284 GB, free: 11.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007022/1.115, allocations: 199.3 kB / 1.284 GB, free: 11.58 MB / 1.029 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.001163/1.116, allocations: 1.031 MB / 1.286 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008832/1.117, allocations: 0.5384 MB / 1.286 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.117, allocations: 2.625 kB / 1.286 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003595/1.117, allocations: 257.1 kB / 1.286 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/1.119, allocations: 362.8 kB / 1.287 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005919/1.125, allocations: 4.455 MB / 1.291 GB, free: 8.746 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/1.126, allocations: 0.9065 MB / 1.292 GB, free: 8.047 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005114/1.126, allocations: 110.6 kB / 1.292 GB, free: 8.031 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/1.126, allocations: 193.9 kB / 1.292 GB, free: 8.023 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/1.126, allocations: 2.25 kB / 1.292 GB, free: 8.023 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05208/1.178, allocations: 18.07 MB / 1.31 GB, free: 6.781 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.75, allocations: 5.344 kB / 1.31 GB, free: 6.777 MB / 1.029 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumeHeatConduction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches