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.001113/0.001114, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.605/2.605, allocations: 469.4 MB / 0.742 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 61.09 kB / 0.9082 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2461, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.1593/0.4054, allocations: 171.1 MB / 1.231 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005902/0.4114, allocations: 4.297 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005669/0.412, allocations: 27.81 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009041/0.4129, allocations: 353.9 kB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.4153, allocations: 1.227 MB / 1.236 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.417, allocations: 0.7879 MB / 1.237 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001496/0.4185, allocations: 1.695 MB / 1.239 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006191/0.4191, allocations: 0.5543 MB / 1.239 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008412/0.42, allocations: 0.6849 MB / 1.24 GB, free: 9.172 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009862/0.421, allocations: 0.541 MB / 1.241 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.4211, allocations: 67.98 kB / 1.241 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.4223, allocations: 0.7912 MB / 1.241 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.4225, allocations: 275.3 kB / 1.242 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.4229, allocations: 406.3 kB / 1.242 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.4242, allocations: 1.258 MB / 1.243 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4242, allocations: 4 kB / 1.243 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4242, allocations: 0 / 1.243 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.4242, allocations: 0 / 1.243 GB, free: 5.836 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.001579/0.4258, allocations: 1.04 MB / 1.244 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.4258, allocations: 8.031 kB / 1.244 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.4259, allocations: 94.52 kB / 1.244 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009739/0.4269, allocations: 167 kB / 1.245 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/0.4276, allocations: 0.5249 MB / 1.245 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.4276, allocations: 37.31 kB / 1.245 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.4277, allocations: 56 kB / 1.245 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.4287, allocations: 0.6453 MB / 1.246 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4288, allocations: 0 / 1.246 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.4288, allocations: 28 kB / 1.246 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.231e-05/0.4289, allocations: 25.3 kB / 1.246 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.4298, allocations: 0.5126 MB / 1.246 GB, free: 2.594 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.002985/0.4327, allocations: 2.324 MB / 1.249 GB, free: 104 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.412/0.8448, allocations: 246.6 kB / 1.249 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.8451, allocations: 136.7 kB / 1.249 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.814e-05/0.8452, allocations: 3.516 kB / 1.249 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.8452, allocations: 39.23 kB / 1.249 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 3.567e-06/0.8452, allocations: 0 / 1.249 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001756/0.847, allocations: 0.6744 MB / 1.25 GB, free: 189 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/0.847, allocations: 81.33 kB / 1.25 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007462/0.8478, allocations: 0.5572 MB / 1.25 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.8478, allocations: 35.02 kB / 1.25 GB, free: 188.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.848, allocations: 331.2 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.285e-05/0.8481, allocations: 72.3 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.8482, allocations: 74.78 kB / 1.251 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.265e-05/0.8483, allocations: 360.8 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.8486, allocations: 134.9 kB / 1.251 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.8489, allocations: 219.1 kB / 1.252 GB, free: 188.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.8494, allocations: 331.6 kB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8494, allocations: 1.5 kB / 1.252 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009195/0.8504, allocations: 0.4905 MB / 1.252 GB, free: 188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.8504, allocations: 5.75 kB / 1.252 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8504, allocations: 7.016 kB / 1.252 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003072/0.8507, allocations: 101.4 kB / 1.252 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.8511, allocations: 72.03 kB / 1.253 GB, free: 188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.8534, allocations: 3.344 MB / 1.256 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.8539, allocations: 49.81 kB / 1.256 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.8539, allocations: 14.31 kB / 1.256 GB, free: 185.2 MB / 0.9981 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.0002197/0.8541, allocations: 213.2 kB / 1.256 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.8542, allocations: 55.5 kB / 1.256 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.45e-05/0.8543, allocations: 60.02 kB / 1.256 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.8543, allocations: 2.594 kB / 1.256 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.8544, allocations: 4.125 kB / 1.256 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006276/0.855, allocations: 0.5299 MB / 1.257 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.8561, allocations: 0.9117 MB / 1.258 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.8561, allocations: 4.922 kB / 1.258 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.8563, allocations: 43.44 kB / 1.258 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001837/0.8565, allocations: 69.27 kB / 1.258 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.8566, allocations: 9.766 kB / 1.258 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.8578, allocations: 1.826 MB / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8578, allocations: 0 / 1.259 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005199/0.8583, allocations: 442.1 kB / 1.26 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001746/0.8585, allocations: 167.3 kB / 1.26 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.414e-05/0.8586, allocations: 2.594 kB / 1.26 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/0.859, allocations: 25.91 kB / 1.26 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/0.8591, allocations: 22.41 kB / 1.26 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.8592, allocations: 11.94 kB / 1.26 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00035/0.8595, allocations: 402.8 kB / 1.261 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8595, allocations: 2.875 kB / 1.261 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005587/0.8601, allocations: 204.9 kB / 1.261 GB, free: 182.6 MB / 0.9981 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.0008734/0.861, allocations: 1.035 MB / 1.262 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007285/0.8617, allocations: 0.5478 MB / 1.262 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8617, allocations: 0 / 1.262 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.862, allocations: 258.4 kB / 1.262 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.8636, allocations: 372.7 kB / 1.263 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004971/0.8686, allocations: 4.527 MB / 1.267 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.8689, allocations: 0.9095 MB / 1.268 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004297/0.8694, allocations: 113.7 kB / 1.268 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.8696, allocations: 192.5 kB / 1.268 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.8696, allocations: 0 / 1.268 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06416/0.9337, allocations: 17.63 MB / 1.286 GB, free: 174 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.6, allocations: 15.14 kB / 1.286 GB, free: 174 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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