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.004156/0.004156, allocations: 102.2 kB / 15.73 MB, free: 6.008 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.00125/0.00125, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.228/2.228, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 71.89 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6525/0.6537, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1675/0.8212, allocations: 171.1 MB / 1.255 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005789/0.827, allocations: 4.294 MB / 1.259 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006478/0.8277, allocations: 19.88 kB / 1.259 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008822/0.8286, allocations: 358 kB / 1.259 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002393/0.831, allocations: 1.221 MB / 1.26 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.8327, allocations: 0.7892 MB / 1.261 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001714/0.8344, allocations: 1.699 MB / 1.263 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006713/0.8351, allocations: 0.5659 MB / 1.263 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009452/0.836, allocations: 0.6771 MB / 1.264 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009018/0.837, allocations: 0.5613 MB / 1.264 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.584e-05/0.8371, allocations: 64 kB / 1.265 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.8382, allocations: 0.799 MB / 1.265 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.8384, allocations: 263.3 kB / 1.266 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003439/0.8388, allocations: 406.3 kB / 1.266 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.84, allocations: 1.274 MB / 1.267 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.84, allocations: 0 / 1.267 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.84, allocations: 0 / 1.267 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.84, allocations: 0 / 1.267 GB, free: 5.664 MB / 0.9981 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.001487/0.8415, allocations: 1.034 MB / 1.268 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.8415, allocations: 8.031 kB / 1.268 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.8417, allocations: 98.5 kB / 1.268 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009165/0.8426, allocations: 167 kB / 1.268 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/0.8433, allocations: 0.5405 MB / 1.269 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.8433, allocations: 37.31 kB / 1.269 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.8434, allocations: 59.94 kB / 1.269 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009376/0.8444, allocations: 0.644 MB / 1.27 GB, free: 2.965 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.8444, allocations: 4 kB / 1.27 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.8445, allocations: 24 kB / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.8445, allocations: 21.31 kB / 1.27 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008319/0.8453, allocations: 0.5125 MB / 1.27 GB, free: 2.402 MB / 0.9981 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.00284/0.8482, allocations: 2.301 MB / 1.272 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.8486, allocations: 254.8 kB / 1.273 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.8489, allocations: 144.5 kB / 1.273 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.8489, allocations: 3.984 kB / 1.273 GB, free: 15.54 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.8489, allocations: 38.56 kB / 1.273 GB, free: 15.49 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.283e-06/0.8489, allocations: 0 / 1.273 GB, free: 15.49 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.001479/0.8504, allocations: 0.6709 MB / 1.274 GB, free: 14.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.8505, allocations: 77.11 kB / 1.274 GB, free: 14.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005483/0.851, allocations: 0.5535 MB / 1.274 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.8511, allocations: 33.7 kB / 1.274 GB, free: 14.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.8513, allocations: 347 kB / 1.275 GB, free: 13.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.8513, allocations: 67.09 kB / 1.275 GB, free: 13.66 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.8514, allocations: 69.94 kB / 1.275 GB, free: 13.58 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.8516, allocations: 362.7 kB / 1.275 GB, free: 13.22 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.8518, allocations: 128.6 kB / 1.275 GB, free: 13.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.8521, allocations: 222.6 kB / 1.275 GB, free: 12.84 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.8526, allocations: 336.8 kB / 1.276 GB, free: 12.48 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8526, allocations: 0 / 1.276 GB, free: 12.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008125/0.8534, allocations: 498.3 kB / 1.276 GB, free: 11.98 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.8534, allocations: 4 kB / 1.276 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.8534, allocations: 7.984 kB / 1.276 GB, free: 11.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.8537, allocations: 97.88 kB / 1.276 GB, free: 11.87 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.854, allocations: 67.91 kB / 1.276 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.8566, allocations: 3.34 MB / 1.28 GB, free: 8.188 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.857, allocations: 55.3 kB / 1.28 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.8571, allocations: 24 kB / 1.28 GB, free: 8.109 MB / 1.014 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.0002142/0.8573, allocations: 213.7 kB / 1.28 GB, free: 7.891 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.8574, allocations: 55.44 kB / 1.28 GB, free: 7.836 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.168e-05/0.8575, allocations: 52.5 kB / 1.28 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8575, allocations: 0 / 1.28 GB, free: 7.785 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.8575, allocations: 3.938 kB / 1.28 GB, free: 7.781 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006614/0.8582, allocations: 0.5384 MB / 1.28 GB, free: 7.172 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.8593, allocations: 0.9143 MB / 1.281 GB, free: 6.191 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.8593, allocations: 4 kB / 1.281 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/0.8595, allocations: 44.03 kB / 1.281 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.8597, allocations: 60.81 kB / 1.281 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.8597, allocations: 7.938 kB / 1.281 GB, free: 6.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/0.8612, allocations: 1.825 MB / 1.283 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.8612, allocations: 0 / 1.283 GB, free: 4.105 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.8617, allocations: 439.8 kB / 1.284 GB, free: 3.652 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.862, allocations: 172.3 kB / 1.284 GB, free: 3.465 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/0.862, allocations: 7.938 kB / 1.284 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.8624, allocations: 17.11 kB / 1.284 GB, free: 3.441 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.8625, allocations: 23.97 kB / 1.284 GB, free: 3.418 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.8626, allocations: 16 kB / 1.284 GB, free: 3.402 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000399/0.863, allocations: 398.8 kB / 1.284 GB, free: 3.016 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.863, allocations: 0 / 1.284 GB, free: 3.016 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005255/0.8635, allocations: 199.7 kB / 1.284 GB, free: 2.82 MB / 1.014 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.0009897/0.8645, allocations: 1.041 MB / 1.286 GB, free: 1.754 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0007648/0.8653, allocations: 0.5325 MB / 1.286 GB, free: 1.195 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8653, allocations: 0 / 1.286 GB, free: 1.195 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.8656, allocations: 258.5 kB / 1.286 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.8671, allocations: 369.6 kB / 1.287 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/0.8721, allocations: 4.454 MB / 1.291 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.8725, allocations: 0.9054 MB / 1.292 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003056/0.8728, allocations: 112.8 kB / 1.292 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.873, allocations: 191.4 kB / 1.292 GB, free: 10.73 MB / 1.029 GB Notification: Performance of SimCode: time 2e-07/0.873, allocations: 0 / 1.292 GB, free: 10.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7933/1.666, allocations: 17.79 MB / 1.31 GB, free: 9.324 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/13.29, allocations: 6.406 kB / 1.31 GB, free: 9.32 MB / 1.045 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